diff options
Diffstat (limited to 'test/unit/group_test.rb')
-rw-r--r-- | test/unit/group_test.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb index c264d48cb..721877afb 100644 --- a/test/unit/group_test.rb +++ b/test/unit/group_test.rb @@ -58,10 +58,9 @@ class GroupTest < ActiveSupport::TestCase def test_blank_name_error_message_fr set_language_if_valid 'fr' - str = "Nom doit \xc3\xaatre renseign\xc3\xa9(e)".force_encoding('UTF-8') g = Group.new assert !g.save - assert_include str, g.errors.full_messages + assert_include 'Nom doit ĂȘtre renseignĂ©(e)', g.errors.full_messages end def test_group_roles_should_be_given_to_added_user |