From abd6ddddf3d83e0fd9e8db3ff190b4bfeb5b9a30 Mon Sep 17 00:00:00 2001 From: baarkerlounger Date: Thu, 6 Jan 2022 17:45:47 +0000 Subject: [PATCH] Rubocop --- spec/views/form/page_view_spec.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/spec/views/form/page_view_spec.rb b/spec/views/form/page_view_spec.rb index c8c63d9fd..edb7061df 100644 --- a/spec/views/form/page_view_spec.rb +++ b/spec/views/form/page_view_spec.rb @@ -2,7 +2,6 @@ require "rails_helper" require_relative "../../request_helper" RSpec.describe "form/page" do - before do RequestHelper.stub_http_requests end @@ -30,7 +29,7 @@ RSpec.describe "form/page" do end context "with radio type" do - let(:attribs) { { type: "radio", answer_options: {"1": "A", "2": "B"} } } + let(:attribs) { { type: "radio", answer_options: { "1": "A", "2": "B" } } } it "renders the guidance partial for radio questions" do expect(rendered).to match(expected_guidance) end @@ -51,14 +50,14 @@ RSpec.describe "form/page" do end context "with select type" do - let(:attribs) { { type: "select", answer_options: {"1": "A", "2": "B"} } } + let(:attribs) { { type: "select", answer_options: { "1": "A", "2": "B" } } } it "renders the guidance partial for select questions" do expect(rendered).to match(expected_guidance) end end context "with checkbox type" do - let(:attribs) { { type: "checkbox", answer_options: {"1": "A", "2": "B"} } } + let(:attribs) { { type: "checkbox", answer_options: { "1": "A", "2": "B" } } } it "renders the guidance partial for checkbox questions" do expect(rendered).to match(expected_guidance) end