mirror of
https://github.com/ENSL/ensl.org.git
synced 2024-11-14 17:01:20 +00:00
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:
parent
e0710c9efc
commit
38ac72f01e
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue