Browse Source

rubocop -a

pull/671/head
JG 3 years ago
parent
commit
8aa0c2d9fe
  1. 18
      spec/requests/schemes_controller_spec.rb

18
spec/requests/schemes_controller_spec.rb

@ -954,14 +954,16 @@ RSpec.describe SchemesController, type: :request do
context "when updating details" do
let(:another_organisation) { FactoryBot.create(:organisation) }
let(:params) { { scheme: { service_name: "testy",
sensitive: "1",
scheme_type: "Foyer",
registered_under_care_act: "No",
total_units: "1",
page: "details",
organisation_id: another_organisation.id,
stock_owning_organisation_id: another_organisation.id, } } }
let(:params) do
{ scheme: { service_name: "testy",
sensitive: "1",
scheme_type: "Foyer",
registered_under_care_act: "No",
total_units: "1",
page: "details",
organisation_id: another_organisation.id,
stock_owning_organisation_id: another_organisation.id } }
end
it "renders confirm secondary group after successful update" do
follow_redirect!

Loading…
Cancel
Save