From f326d48bfdbee97a93ec4194f1297d6b7550814b Mon Sep 17 00:00:00 2001 From: Kat Date: Tue, 8 Feb 2022 09:11:45 +0000 Subject: [PATCH] Fix html structure --- app/views/form/page.html.erb | 2 +- db/schema.rb | 2 +- spec/features/form/validations_spec.rb | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/views/form/page.html.erb b/app/views/form/page.html.erb index 8799351eb..0919316ec 100644 --- a/app/views/form/page.html.erb +++ b/app/views/form/page.html.erb @@ -52,7 +52,7 @@ <%else %> <%= f.govuk_submit "Save and continue" %> <%end %> - <% end %> + <% end %> <% end %> diff --git a/db/schema.rb b/db/schema.rb index 90b61c3ea..4305fb49c 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -10,7 +10,7 @@ # # It's strongly recommended that you check this file into your version control system. -ActiveRecord::Schema.define(version: 2022_02_07_091117) do +ActiveRecord::Schema.define(version: 202202071123100) do # These are extensions that must be enabled in order to support this database enable_extension "plpgsql" diff --git a/spec/features/form/validations_spec.rb b/spec/features/form/validations_spec.rb index 40df3d41d..d5c710436 100644 --- a/spec/features/form/validations_spec.rb +++ b/spec/features/form/validations_spec.rb @@ -177,7 +177,6 @@ RSpec.describe "validations" do visit("/logs/#{completed_without_declaration.id}/declaration") expect(page).to have_current_path("/logs/#{completed_without_declaration.id}/declaration") click_button("Submit lettings log") - # expect(page).to have_current_path("/logs/#{completed_case_log.id}/declaration") expect(page).to have_content("You must show the DLUHC privacy notice to the tenant") end end