spec/client_spec.rb in agra_api-0.1.0 vs spec/client_spec.rb in agra_api-0.1.1
- old
+ new
@@ -6,11 +6,11 @@
subject { described_class.new(options) }
context 'process_basic_auth' do
let(:options) { { :basic_auth => 'login:password' } }
let(:config) { subject.connection.configuration }
- specify { config.username.should eq 'login' }
- specify { config.password.should eq 'password' }
+ specify { expect(config.username).to eq 'login' }
+ specify { expect(config.password).to eq 'password' }
end
end
-end
\ No newline at end of file
+end