X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c9a4c781465bd6612a437bda8cad2c754ae8a82c..bc12774c21915687c07b93dbcbef78d28d2920af:/test/test_helper.rb?ds=sidebyside diff --git a/test/test_helper.rb b/test/test_helper.rb index a023dd610..a6147ef29 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -160,7 +160,7 @@ module ActiveSupport request.sign!(oauth) - method(method).call(request.signed_uri, options) + method(method).call(request.signed_uri, **options) end ## @@ -243,6 +243,7 @@ module ActiveSupport end def session_for(user) + get login_path post login_path, :params => { :username => user.display_name, :password => "test" } follow_redirect! end