Remove deprecated get_via_direct and post_via_redirect methods

This commit is contained in:
Tom Hughes 2017-06-05 23:04:50 +01:00
parent 18c8946556
commit 07673278f1
6 changed files with 52 additions and 27 deletions

View file

@ -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"