From 3d171fe17bf5d67d356445087186a810982cad0a Mon Sep 17 00:00:00 2001 From: JoenioCosta Date: Tue, 29 Apr 2008 04:26:15 +0000 Subject: [PATCH] ActionItem284: bug already resolved --- test/functional/account_controller_test.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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