diff --git a/spec/models/organisation_spec.rb b/spec/models/organisation_spec.rb index 671541045..2bd93c229 100644 --- a/spec/models/organisation_spec.rb +++ b/spec/models/organisation_spec.rb @@ -124,7 +124,7 @@ RSpec.describe Organisation, type: :model do end before do - [4,2,1].each do |rent_period| + [4, 2, 1].each do |rent_period| create(:organisation_rent_period, organisation:, rent_period:) end allow(RentPeriod).to receive(:rent_period_mappings).and_return(fake_rent_periods)