spec/rapidash/integration/test_client_spec.rb in rapidash-0.3.1 vs spec/rapidash/integration/test_client_spec.rb in rapidash-0.4.0
- old
+ new
@@ -24,12 +24,12 @@
describe "An actual Rapidash Client" do
let(:client) { Integration::Client.new(responses, :json => true) }
it "should get the user from the API" do
- client.users!("Gazler").name.should eql("Gary Rennie")
+ expect(client.users!("Gazler").name).to eql("Gary Rennie")
end
it "should get the repos from A user" do
- client.users("Gazler").repos![0].name.should eql("Githug")
+ expect(client.users("Gazler").repos![0].name).to eql("Githug")
end
end