diff --git a/spec/requests/locations_controller_spec.rb b/spec/requests/locations_controller_spec.rb index d7447b007..6e8fc7207 100644 --- a/spec/requests/locations_controller_spec.rb +++ b/spec/requests/locations_controller_spec.rb @@ -1264,7 +1264,6 @@ RSpec.describe LocationsController, type: :request do end context "when location is complete" do - it "confirms location" do expect(Location.last.confirmed).to eq(true) end @@ -1289,8 +1288,6 @@ RSpec.describe LocationsController, type: :request do expect(page).not_to have_content("added to this scheme") end end - - end context "when trying to edit check_answers of location that belongs to another organisation" do @@ -1328,7 +1325,6 @@ RSpec.describe LocationsController, type: :request do end context "when location is complete" do - it "confirms location" do expect(Location.last.confirmed).to eq(true) end @@ -1353,8 +1349,6 @@ RSpec.describe LocationsController, type: :request do expect(page).not_to have_content("added to this scheme") end end - - end context "when the requested location does not exist" do diff --git a/spec/requests/schemes_controller_spec.rb b/spec/requests/schemes_controller_spec.rb index 59256c287..1a450a922 100644 --- a/spec/requests/schemes_controller_spec.rb +++ b/spec/requests/schemes_controller_spec.rb @@ -941,7 +941,6 @@ RSpec.describe SchemesController, type: :request do patch "/schemes/#{scheme_to_update.id}", params: end - context "when confirming unfinished scheme" do let(:params) { { scheme: { owning_organisation_id: user.organisation.id, arrangement_type: nil, confirmed: true, page: "check-answers" } } }