tildelog/spec/do_main_spec.sh

14 lines
502 B
Bash

# shellcheck shell=bash
Describe 'do_main()'
Include ./lib/date_version_detect.sh
Include ./lib/do_main.sh
Include ./lib/global_variables.sh
Include ./lib/usage.sh
It 'Call function do_main without paramenters'
When call do_main
The line 1 of output should eq "You're not in your blog directory. Moving you there now"
The line 2 of output should eq "tildelog 0.1"
#The line 3 of output should eq "usage: ./tildelog.sh command [filename]"
End
End