mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
Fixed a test after changing links to turbo
This commit is contained in:
@@ -357,7 +357,7 @@ Some Guy
|
|||||||
|
|
||||||
@school.wrestlers.each do |wrestler|
|
@school.wrestlers.each do |wrestler|
|
||||||
# Check only for the DELETE link, specifying 'data-method="delete"' to exclude profile links
|
# Check only for the DELETE link, specifying 'data-method="delete"' to exclude profile links
|
||||||
assert_select "a[href=?][data-method=delete]", wrestler_path(wrestler), count: 1
|
assert_select "a[href=?][data-turbo-method=delete]", wrestler_path(wrestler), count: 1
|
||||||
|
|
||||||
# Check edit link
|
# Check edit link
|
||||||
assert_select "a[href=?]", edit_wrestler_path(wrestler), count: 1
|
assert_select "a[href=?]", edit_wrestler_path(wrestler), count: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user