X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6c03ef52bdba8c2b1549cb5baad8bcbb0fb48864..6f5ae957cd51841ecf821126963c104b62958c8d:/test/test_helper.rb diff --git a/test/test_helper.rb b/test/test_helper.rb index e1bc91917..60edf6e0c 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -242,15 +242,6 @@ module ActiveSupport end end - def sign_in_as(user) - visit login_path - within "form", :text => "Email Address or Username" do - fill_in "username", :with => user.email - fill_in "password", :with => "test" - click_on "Login" - end - end - def session_for(user) get login_path post login_path, :params => { :username => user.display_name, :password => "test" }