Update users_controller_spec.rb

This commit is contained in:
Prommah 2015-10-28 16:44:00 +00:00
parent dcab4355c1
commit 86fb1b46d8

View file

@ -11,7 +11,6 @@ describe Api::V1::UsersController do
end end
def user_expectation(json, user) def user_expectation(json, user)
expect(response).to be_success
expect(json["id"]).to eq(user.id) expect(json["id"]).to eq(user.id)
expect(json["username"]).to eq(user.username) expect(json["username"]).to eq(user.username)
expect(json["country"]).to eq(user.country) expect(json["country"]).to eq(user.country)