From 11689a275079b2e009388a61e9373f1cf46c48e3 Mon Sep 17 00:00:00 2001 From: JG Date: Fri, 10 Jun 2022 12:48:06 +0100 Subject: [PATCH] rubocop --- 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 fd5323772..17b8ec200 100644 --- a/spec/models/organisation_spec.rb +++ b/spec/models/organisation_spec.rb @@ -4,7 +4,7 @@ RSpec.describe Organisation, type: :model do describe "#new" do let(:user) { FactoryBot.create(:user) } let!(:organisation) { user.organisation } - let!(:scheme) { FactoryBot.create(:scheme, organisation: organisation) } + let!(:scheme) { FactoryBot.create(:scheme, organisation:) } it "has expected fields" do expect(organisation.attribute_names).to include("name", "phone", "provider_type")