Ensure that test utility methods are marked as private
This allows us to enable the check for test method names.
This commit is contained in:
parent
86a5e198f7
commit
da2277505f
10 changed files with 40 additions and 47 deletions
|
@ -76,6 +76,8 @@ class ClientApplicationsTest < ActionDispatch::IntegrationTest
|
|||
# tests, as its too tied into the HTTP headers and stuff that it signs.
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
##
|
||||
# utility method to make the HTML screening easier to read.
|
||||
def assert_in_heading(&block)
|
||||
|
|
|
@ -9,6 +9,8 @@ class ShortLinksTest < ActionDispatch::IntegrationTest
|
|||
assert_short_link_redirect(ShortLink.encode(-0.107846, 51.50771, 18))
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
##
|
||||
# utility method to test short links
|
||||
def assert_short_link_redirect(short_link)
|
||||
|
|
|
@ -157,7 +157,7 @@ class UserCreationTest < ActionDispatch::IntegrationTest
|
|||
end
|
||||
|
||||
# Check that the user can successfully recover their password
|
||||
def lost_password_recovery_success
|
||||
def test_lost_password_recovery_success
|
||||
# Open the lost password form
|
||||
# Submit the lost password form
|
||||
# Check the e-mail
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue