Merge pull request #90 from Lavode/bugfix/fix-user-api-specs

Adjust user API specs to expect users without assigned teams.
This commit is contained in:
Absurdon 2017-02-24 21:00:40 +01:00 committed by GitHub
commit 73c4b46bf8

View file

@ -9,8 +9,8 @@ describe Api::V1::UsersCollection do
3.times { create(:user) }
end
it "returns 0 results" do
expect(collection.execute_query.size).to eq(0)
it "returns 3 results" do
expect(collection.execute_query.size).to eq(3)
end
end