]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_changeset_comments_test.rb
Use rails 5 version of redirect_back.
[rails.git] / test / integration / user_changeset_comments_test.rb
index 3667db5cafec65179492a02f762a5eaecac5d9a7..6030304697ff193a3fd4b276c4aabcde92256dc7 100644 (file)
@@ -30,7 +30,7 @@ class UserChangesetCommentsTest < ActionDispatch::IntegrationTest
     assert_response :success
     assert_template "user/login"
     # We can now login
-    post "/login", "username" => user.email, "password" => "test"
+    post "/login", :params => { "username" => user.email, "password" => "test" }
     assert_response :redirect
 
     get "/changeset/#{changeset.id}"