Browse Source

Revert "Remove question text test"

This reverts commit 305b2d3e3a.
pull/2723/head
Manny Dinssa 2 years ago
parent
commit
6295e7774f
  1. 1
      spec/requests/form_controller_spec.rb

1
spec/requests/form_controller_spec.rb

@ -746,6 +746,7 @@ RSpec.describe FormController, type: :request do
it "re-renders the same page with errors if validation fails" do
post "/lettings-logs/#{lettings_log.id}/managing-organisation", params: params
expect(page).to have_content("There is a problem")
expect(page).to have_content("Error: Which organisation manages this letting?")
end
end

Loading…
Cancel
Save