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:
parent
dcee6413f4
commit
219fbc0056
2 changed files with 10 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Add table
Reference in a new issue