diff --git a/test/functional/account_controller_test.rb b/test/functional/account_controller_test.rb index 168e0f9..a8dab57 100644 --- a/test/functional/account_controller_test.rb +++ b/test/functional/account_controller_test.rb @@ -270,7 +270,10 @@ class AccountControllerTest < Test::Unit::TestCase end end - + should 'correct redirect after login' do + post :login, :user => {:login => 'johndoe', :password => 'test'} + assert_redirected_to :controller => 'profile_editor' + end protected def create_user(options = {}) -- libgit2 0.21.2