Skip to content

Commit

Permalink
Updates to test names in edition_external_links_test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtrussler committed Jan 28, 2025
1 parent 5af45b0 commit f4e599f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/edition_external_links_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ class EditionExternalLinksTest < JavascriptIntegrationTest
end
end

should "display a 'Delete' button and a set of inputs when 'Add another link' is clicked" do
should "display a 'Delete' button and a set of inputs when the Add button is clicked" do
click_button("Add related external link")

assert page.has_css?("legend", text: "Link 1")
Expand All @@ -65,7 +65,7 @@ class EditionExternalLinksTest < JavascriptIntegrationTest
end
end

should "delete the set of fields when the user clicks the Delete button" do
should "delete the set of fields when the user clicks the 'Delete' button" do
click_button("Add related external link")

within :css, ".gem-c-add-another .js-add-another__fieldset" do
Expand Down

0 comments on commit f4e599f

Please sign in to comment.