1
0
Fork 0
mirror of https://github.com/heartcombo/devise.git synced 2022-11-09 12:18:31 -05:00

Fix tests, remove whitespace and update CHANGELOG.

This commit is contained in:
José Valim 2011-06-28 07:05:35 -03:00
parent dcee6413f4
commit 219fbc0056
2 changed files with 10 additions and 7 deletions

View file

@ -3,6 +3,7 @@
* enhancements
* Add :defaults and :format support on router
* Add simple form generators
* Better localization for devise_error_messages! (by github.com/zedtux)
== 1.4.0

View file

@ -14,8 +14,11 @@ class DeviseHelperTest < ActionController::IntegrationTest
I18n.locale = 'fr'
end
test 'test errors.messages.not_saved with single error from i18n' do
teardown do
I18n.locale = 'en'
end
test 'test errors.messages.not_saved with single error from i18n' do
get new_user_registration_path
fill_in 'password', :with => 'new_user123'
@ -37,5 +40,4 @@ class DeviseHelperTest < ActionController::IntegrationTest
assert_have_selector '#error_explanation'
assert_contain "Erreur lors de l'enregistrement de 'utilisateur': 2 erreurs"
end
end