forked from fixin.me/fixin.me
Fix typo
This commit is contained in:
parent
5e09adeae7
commit
54d8bc6b55
@ -140,7 +140,7 @@ class UsersTest < ApplicationSystemTestCase
|
|||||||
sign_in user: user
|
sign_in user: user
|
||||||
# TODO: remove condition after root changed to different path than profile
|
# TODO: remove condition after root changed to different path than profile
|
||||||
unless has_current_path?(edit_user_registration_path)
|
unless has_current_path?(edit_user_registration_path)
|
||||||
first(:link_r_button, user.email).click
|
first(:link_or_button, user.email).click
|
||||||
end
|
end
|
||||||
assert_difference ->{ User.count }, -1 do
|
assert_difference ->{ User.count }, -1 do
|
||||||
# TODO: accept_confirm when modal dialog is working
|
# TODO: accept_confirm when modal dialog is working
|
||||||
|
Loading…
x
Reference in New Issue
Block a user