diff --git a/spec/policies/aggregation_policy_spec.rb b/spec/policies/aggregation_policy_spec.rb index 42ca1e0aa..314cd3253 100644 --- a/spec/policies/aggregation_policy_spec.rb +++ b/spec/policies/aggregation_policy_spec.rb @@ -23,7 +23,7 @@ let(:api_user) { ApiUser.new(anonymous_user) } it 'returns nothing' do - expect(resolved_scope).to match_array([]) + expect(resolved_scope).to be_empty end end