Browse Source

feat: remove skip link

pull/1604/head
natdeanlewissoftwire 3 years ago
parent
commit
c5d6683fed
  1. 1
      app/views/merge_requests/new_organisation_telephone_number.html.erb
  2. 4
      spec/requests/merge_requests_controller_spec.rb

1
app/views/merge_requests/new_organisation_telephone_number.html.erb

@ -14,7 +14,6 @@
<%= f.hidden_field :page, value: "new_organisation_telephone_number" %> <%= f.hidden_field :page, value: "new_organisation_telephone_number" %>
<div class="govuk-button-group"> <div class="govuk-button-group">
<%= f.govuk_submit %> <%= f.govuk_submit %>
<%= govuk_link_to("Skip for now", new_organisation_type_merge_request_path(@merge_request)) %>
</div> </div>
</div> </div>
</div> </div>

4
spec/requests/merge_requests_controller_spec.rb

@ -649,10 +649,6 @@ RSpec.describe MergeRequestsController, type: :request do
it "has the correct back button" do it "has the correct back button" do
expect(page).to have_link("Back", href: new_organisation_address_merge_request_path(merge_request)) expect(page).to have_link("Back", href: new_organisation_address_merge_request_path(merge_request))
end end
it "has a skip link" do
expect(page).to have_link("Skip for now", href: new_organisation_type_merge_request_path(merge_request))
end
end end
context "when updating the new organisation telephone number" do context "when updating the new organisation telephone number" do

Loading…
Cancel
Save