diff --git a/spec/features/form/saving_data_spec.rb b/spec/features/form/saving_data_spec.rb index a6c56df60..6db932d13 100644 --- a/spec/features/form/saving_data_spec.rb +++ b/spec/features/form/saving_data_spec.rb @@ -85,7 +85,6 @@ RSpec.describe "Form Saving Data" do it "displays checkbox answers in inputs if they are already saved" do visit("/logs/#{case_log_with_checkbox_questions_answered.id.to_s.dasherize}/accessibility-requirements") - # 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-housingneeds-a-field", visible: :all, diff --git a/spec/models/form_handler_spec.rb b/spec/models/form_handler_spec.rb index 5a1df80fb..94a6e9f9f 100644 --- a/spec/models/form_handler_spec.rb +++ b/spec/models/form_handler_spec.rb @@ -21,7 +21,7 @@ RSpec.describe FormHandler do end end - it "onlies load the form once at boot time" do + it "loads the form once at boot time" do form_handler = described_class.instance expect(Form).not_to receive(:new).with(:any, test_form_name) expect(form_handler.get_form(test_form_name)).to be_a(Form)