]> git.openstreetmap.org Git - rails.git/blobdiff - test/integration/user_creation_test.rb
Fix rubocop lint issues
[rails.git] / test / integration / user_creation_test.rb
index e45ff5b2ddfe4754a7074cc9cb2da22ddb976c51..3b79c433ddceece982648397da2e1801ea340f7d 100644 (file)
@@ -171,7 +171,6 @@ class UserCreationTest < ActionDispatch::IntegrationTest
   def test_user_create_openid_failure
     new_email = "newtester-openid2@osm.org"
     display_name = "new_tester-openid2"
   def test_user_create_openid_failure
     new_email = "newtester-openid2@osm.org"
     display_name = "new_tester-openid2"
-    password = "testtest2"
     assert_difference('User.count', 0) do
       assert_difference('ActionMailer::Base.deliveries.size', 0) do
         post "/user/new",
     assert_difference('User.count', 0) do
       assert_difference('ActionMailer::Base.deliveries.size', 0) do
         post "/user/new",
@@ -190,7 +189,6 @@ class UserCreationTest < ActionDispatch::IntegrationTest
   def test_user_create_openid_redirect
     new_email = "redirect_tester_openid@osm.org"
     display_name = "redirect_tester_openid"
   def test_user_create_openid_redirect
     new_email = "redirect_tester_openid@osm.org"
     display_name = "redirect_tester_openid"
-    password = ""
     # nothing special about this page, just need a protected page to redirect back to.
     referer = "/traces/mine"
     assert_difference('User.count') do
     # nothing special about this page, just need a protected page to redirect back to.
     referer = "/traces/mine"
     assert_difference('User.count') do