diff --git a/spec/controllers/admin/rentals_controller_spec.rb b/spec/controllers/admin/rentals_controller_spec.rb index a8917ca4..da118643 100644 --- a/spec/controllers/admin/rentals_controller_spec.rb +++ b/spec/controllers/admin/rentals_controller_spec.rb @@ -103,7 +103,7 @@ context "when configuration is set to not ignore blank remote accounts" do it "assigns all remote accounts" do index_with_search - expect(assigns(:remote_accounts).count).to include(*blank_remote_accounts) + expect(assigns(:remote_accounts)).to include(*blank_remote_accounts) end end