Commit 3d171fe17bf5d67d356445087186a810982cad0a
1 parent
fe89e1a3
Exists in
master
and in
29 other branches
ActionItem284: bug already resolved
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1737 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
test/functional/account_controller_test.rb
@@ -270,7 +270,10 @@ class AccountControllerTest < Test::Unit::TestCase | @@ -270,7 +270,10 @@ class AccountControllerTest < Test::Unit::TestCase | ||
270 | end | 270 | end |
271 | end | 271 | end |
272 | 272 | ||
273 | - | 273 | + should 'correct redirect after login' do |
274 | + post :login, :user => {:login => 'johndoe', :password => 'test'} | ||
275 | + assert_redirected_to :controller => 'profile_editor' | ||
276 | + end | ||
274 | 277 | ||
275 | protected | 278 | protected |
276 | def create_user(options = {}) | 279 | def create_user(options = {}) |