spec/gemirro/cli_spec.rb in gemirro-0.6.0 vs spec/gemirro/cli_spec.rb in gemirro-0.7.0

- old
+ new

@@ -33,10 +33,10 @@ "gemirro v#{VERSION} on #{RUBY_DESCRIPTION}" ) end it 'should raise SystemExit if file does not exists' do - CLI.should_receive(:abort) + allow(CLI).to receive(:abort) .with('The configuration file /config.rb does not exist') .and_raise SystemExit expect { CLI.load_configuration('config.rb') }.to raise_error SystemExit end