X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/4abd9cfcf19701bf43322374c5df6dd586449e54..cb86e74f69c6b1fe62b06d037396976fadfa3ad8:/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