Browse Source

wrong button name

pull/717/head
JG 3 years ago
parent
commit
4e071965c2
  1. 2
      app/views/schemes/edit_name.html.erb
  2. 2
      spec/features/schemes_spec.rb

2
app/views/schemes/edit_name.html.erb

@ -41,7 +41,7 @@
<%= f.hidden_field :page, value: "edit-name" %> <%= f.hidden_field :page, value: "edit-name" %>
<%= f.govuk_submit "Save and continue" %> <%= f.govuk_submit "Continue" %>
</div> </div>
</div> </div>
<% end %> <% end %>

2
spec/features/schemes_spec.rb

@ -712,7 +712,7 @@ RSpec.describe "Schemes scheme Features" do
before do before do
fill_in "Scheme name", with: "FooBar" fill_in "Scheme name", with: "FooBar"
check "This scheme contains confidential information" check "This scheme contains confidential information"
click_button "Save and continue" click_button "Continue"
end end
it "lets me see amended details on the show page" do it "lets me see amended details on the show page" do

Loading…
Cancel
Save