spec/unit/wgif/cli_spec.rb in wgif-0.5.3 vs spec/unit/wgif/cli_spec.rb in wgif-0.5.4

- old
+ new

@@ -93,7 +93,12 @@ expect { cli.make_gif(['-h']) }.to raise_error(SystemExit) cli.argument_parser.argument_summary.each do |help_info| expect(@mock_stdout.string).to include(help_info) end end + + it 'prints version information' do + expect { cli.make_gif(['-v']) }.to raise_error(SystemExit) + expect(@mock_stdout.string).to include(WGif::VERSION) + end end end