Remove deprecated get_via_direct and post_via_redirect methods
This commit is contained in:
parent
18c8946556
commit
07673278f1
6 changed files with 52 additions and 27 deletions
|
@ -24,7 +24,8 @@ class UserChangesetCommentsTest < ActionDispatch::IntegrationTest
|
|||
user = create(:user)
|
||||
changeset = create(:changeset, :closed)
|
||||
|
||||
get_via_redirect "/login"
|
||||
get "/login"
|
||||
follow_redirect!
|
||||
# We should now be at the login page
|
||||
assert_response :success
|
||||
assert_template "user/login"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue