Skip to content

Commit

Permalink
Update spec/features/products_form_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
seanpdoyle authored Nov 1, 2024
1 parent 69b93c2 commit 5599c90
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions spec/features/products_form_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -77,10 +77,8 @@
HTML
click_on "Update Product"

within(".trix-content") do
within("div", text: "A changed banner without a link.") do
expect(page).to have_no_link(href: "https://example.com")
end
within(".trix-content div", text: "A changed banner without a link.") do
expect(page).to have_no_link(href: "https://example.com")
end
expect(page).to have_link(product.product_meta_tag.meta_title.to_s)
expect(page).to have_flash(
Expand Down

0 comments on commit 5599c90

Please sign in to comment.