spec/gemirro/cli_spec.rb in gemirro-0.2.0 vs spec/gemirro/cli_spec.rb in gemirro-0.3.0

- old
+ new

@@ -23,10 +23,10 @@ .to match(/-h, --help(\s+)Display this help message./) version = options.fetch_option(:v) expect(version.short).to eq('v') expect(version.long).to eq('version') - expect(version.call).to be_nil + expect { version.call }.to output(/gemirro v.* on ruby/).to_stdout end it 'should retrieve version information' do expect(CLI.version_information).to eq( "gemirro v#{VERSION} on #{RUBY_DESCRIPTION}"