Adjust user API specs to expect users without assigned teams.

In  d5d804a56f, the user API was changed to
also return users without an assigned team, but specs were not adjusted.
This commit is contained in:
Michael Senn 2017-02-24 17:49:40 +01:00
parent a8451f1466
commit f390c1b38c

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