From 38ac72f01e4edce71d99425294d0a3be07ce7662 Mon Sep 17 00:00:00 2001 From: Michael Senn 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