Browse Source

Rubocop

pull/39/head^2
baarkerlounger 3 years ago
parent
commit
8f272c55b7
  1. 8
      spec/controllers/case_logs_controller_spec.rb
  2. 6
      spec/features/case_log_spec.rb

8
spec/controllers/case_logs_controller_spec.rb

@ -103,14 +103,12 @@ RSpec.describe CaseLogsController, type: :controller do
"divider_a" => true,
"accessibility_requirements_do_not_know" => "Do not know",
"divider_b" => true,
"accessibility_requirements_prefer_not_to_say"=>"Prefer not to say"
}
"accessibility_requirements_prefer_not_to_say" => "Prefer not to say" },
},
"tenant_code" =>
{
"type"=>"text"
}
}
"type" => "text",
} }
end
it "updates both question fields" do

6
spec/features/case_log_spec.rb

@ -160,15 +160,15 @@ RSpec.describe "Test Features" do
# Something about our styling makes the selenium webdriver think the actual radio buttons are not visible so we pass false here
expect(page).to have_checked_field(
"case-log-accessibility-requirements-accessibility-requirements-fully-wheelchair-accessible-housing-field",
visible: false
visible: false,
)
expect(page).to have_unchecked_field(
"case-log-accessibility-requirements-accessibility-requirements-wheelchair-access-to-essential-rooms-field",
visible: false
visible: false,
)
expect(page).to have_checked_field(
"case-log-accessibility-requirements-accessibility-requirements-level-access-housing-field",
visible: false
visible: false,
)
end
end

Loading…
Cancel
Save