diff options
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/cli_spec.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/cli_spec.rb b/spec/cli_spec.rb index 0062c1c..9d448d0 100644 --- a/spec/cli_spec.rb +++ b/spec/cli_spec.rb @@ -39,6 +39,15 @@ RSpec.describe CLI do end end + describe '#run' do + it 'prints a message that it is running actions from the actions file' do + expect do + cli = CLI.new([valid_file_path]) + cli.run + end.to output(/Running actions from file: test_actions.txt against the family tree./).to_stdout + end + end + describe '#validate_arguments' do context 'when no arguments are provided' do it 'prints usage message and exits' do |
