fix #1325 by applying the patch of Dan Rice. Thanks Dan!

Also add a test to catch regessions
This commit is contained in:
Reinier Balt 2012-08-25 17:18:22 +02:00
parent 29c5103a98
commit 1cdf6c8b8e
3 changed files with 7 additions and 2 deletions

View file

@ -45,7 +45,7 @@ class LoginControllerTest < ActionController::TestCase
get :login
assert_redirected_to signup_url
end
def test_logout
login_as :admin_user
get :logout