From 1c5980a56c0e3fd960683d67cd5175a69a94142e Mon Sep 17 00:00:00 2001 From: Dushan Despotovic Date: Tue, 6 Sep 2022 14:24:56 +0100 Subject: [PATCH] remove js true --- spec/features/form/validations_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/features/form/validations_spec.rb b/spec/features/form/validations_spec.rb index 30a69b989..d944f5161 100644 --- a/spec/features/form/validations_spec.rb +++ b/spec/features/form/validations_spec.rb @@ -37,7 +37,7 @@ RSpec.describe "validations" do describe "Question validation" do context "when the tenant age is invalid" do - it "shows validation for under 0", js: true do + it "shows validation for under 0" do visit("/logs/#{id}/person-1-age") fill_in_number_question(empty_lettings_log.id, "age1", -5, "person-1-age") expect(page).to have_selector("#error-summary-title")