From 8aa0c2d9fecc7fef633350e17f69f35a6761e3b8 Mon Sep 17 00:00:00 2001 From: JG Date: Wed, 29 Jun 2022 15:19:23 +0100 Subject: [PATCH] rubocop -a --- spec/requests/schemes_controller_spec.rb | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/spec/requests/schemes_controller_spec.rb b/spec/requests/schemes_controller_spec.rb index 26bd5ded6..392fcb3df 100644 --- a/spec/requests/schemes_controller_spec.rb +++ b/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!