From e8a6370d1df14c4cde9d20327cdd3b8f08f8d0d0 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Wed, 15 Jun 2022 13:32:52 +0100 Subject: [PATCH] Array matcher on heisenspec --- spec/models/organisation_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/models/organisation_spec.rb b/spec/models/organisation_spec.rb index 17b8ec200..ac6a0fc6c 100644 --- a/spec/models/organisation_spec.rb +++ b/spec/models/organisation_spec.rb @@ -87,7 +87,7 @@ RSpec.describe Organisation, type: :model do end it "has case logs" do - expect(organisation.case_logs.to_a).to eq([owned_case_log, managed_case_log]) + expect(organisation.case_logs.to_a).to match_array([owned_case_log, managed_case_log]) end it "has case log status helper methods" do