X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/56622201d3012eddb1efba7baf78d8aeffc336b6..956ba386d684a8788eb3e96aa13fc82480b3f1c5:/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" }