Browse Source

Fix html structure

pull/279/head
Kat 3 years ago
parent
commit
f326d48bfd
  1. 2
      app/views/form/page.html.erb
  2. 2
      db/schema.rb
  3. 1
      spec/features/form/validations_spec.rb

2
app/views/form/page.html.erb

@ -52,7 +52,7 @@
<%else %>
<%= f.govuk_submit "Save and continue" %>
<%end %>
<% end %>
</div>
</div>
<% end %>
<% end %>

2
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"

1
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

Loading…
Cancel
Save