diff --git a/spec/models/user_spec.rb b/spec/models/user_spec.rb index ad601483a..9244ad7e5 100644 --- a/spec/models/user_spec.rb +++ b/spec/models/user_spec.rb @@ -132,7 +132,7 @@ RSpec.describe User, type: :model do FactoryBot.create(:organisation_relationship, parent_organisation: user.organisation) end - it "can filter lettings logs by user, year and status" do + it "can filter lettings logs by user, year, status and organisation" do expect(user.logs_filters).to eq(%w[status years user organisation]) end end