Commit 1c9f77f289bc9440ddf3469a08586d3dcd075d45
1 parent
e1a4895a
Exists in
master
and in
29 other branches
ActionItem114: removed some tests on the flash notices that was not working due …
…to localization of the messages git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@809 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
1 additions
and
2 deletions
Show diff stats
test/functional/account_controller_test.rb
... | ... | @@ -155,7 +155,6 @@ class AccountControllerTest < Test::Unit::TestCase |
155 | 155 | post :change_password, :current_password => 'test', :new_password => 'blabla', :new_password_confirmation => 'blabla' |
156 | 156 | assert_response :redirect |
157 | 157 | assert_redirected_to :action => 'index' |
158 | - assert flash[:notice] =~ /success/ | |
159 | 158 | assert User.find_by_login('ze').authenticated?('blabla') |
160 | 159 | assert_equal users(:ze), @controller.send(:current_user) |
161 | 160 | end |
... | ... | @@ -165,7 +164,6 @@ class AccountControllerTest < Test::Unit::TestCase |
165 | 164 | post :change_password, :current_password => 'wrong', :new_password => 'blabla', :new_password_confirmation => 'blabla' |
166 | 165 | assert_response :success |
167 | 166 | assert_template 'change_password' |
168 | - assert flash[:notice] =~ /incorrect/ | |
169 | 167 | assert ! User.find_by_login('ze').authenticated?('blabla') |
170 | 168 | assert_equal users(:ze), @controller.send(:current_user) |
171 | 169 | end | ... | ... |
test/functional/categories_controller_test.rb