Browse Source

refactor: linting

pull/1173/head
natdeanlewissoftwire 3 years ago
parent
commit
39909e416a
  1. 1
      spec/features/schemes_spec.rb
  2. 1
      spec/services/imports/scheme_import_service_spec.rb

1
spec/features/schemes_spec.rb

@ -605,7 +605,6 @@ RSpec.describe "Schemes scheme Features" do
context "when I fill in scheme details indicating that supported services provided by a different organisation and I press save I see primary client group section" do
let(:scheme) { Scheme.first }
let!(:another_organisation) { FactoryBot.create(:organisation, name: "Another Org") }
before do
fill_in_and_save_scheme_details({ "housing_stock_owners" => "Another registered stock owner" })

1
spec/services/imports/scheme_import_service_spec.rb

@ -10,7 +10,6 @@ RSpec.describe Imports::SchemeImportService do
let(:scheme_id) { "6d6d7618b58affe2a150a5ef2e9f4765fa6cd05d" }
let!(:owning_org) { FactoryBot.create(:organisation, old_org_id: "7c5bd5fb549c09z2c55d9cb90d7ba84927e64618") }
let!(:managing_org) { FactoryBot.create(:organisation, old_visible_id: "456") }
def open_file(directory, filename)
File.open("#{directory}/#{filename}.xml")

Loading…
Cancel
Save