From f390c1b38c5aa0ab99a8e158d4d2054172a37f4d Mon Sep 17 00:00:00 2001
From: Michael Senn <michael@senn.email>
Date: Fri, 24 Feb 2017 17:49:40 +0100
Subject: [PATCH] Adjust user API specs to expect users without assigned teams.

In  d5d804a56f416f3637cfa32b0129142f8a82ecd8, the user API was changed to
also return users without an assigned team, but specs were not adjusted.
---
 spec/services/api/v1/users_collection_spec.rb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spec/services/api/v1/users_collection_spec.rb b/spec/services/api/v1/users_collection_spec.rb
index f2b0fbc..694478b 100755
--- a/spec/services/api/v1/users_collection_spec.rb
+++ b/spec/services/api/v1/users_collection_spec.rb
@@ -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