projects
/
rails.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove deprecated get_via_direct and post_via_redirect methods
[rails.git]
/
test
/
integration
/
user_changeset_comments_test.rb
diff --git
a/test/integration/user_changeset_comments_test.rb
b/test/integration/user_changeset_comments_test.rb
index bedb1c69f39a398313d08a4c1fcb3eccc7249088..3667db5cafec65179492a02f762a5eaecac5d9a7 100644
(file)
--- a/
test/integration/user_changeset_comments_test.rb
+++ b/
test/integration/user_changeset_comments_test.rb
@@
-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"