Browse Source

rubocop

pull/648/head
JG 3 years ago
parent
commit
11689a2750
  1. 2
      spec/models/organisation_spec.rb

2
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")

Loading…
Cancel
Save