summaryrefslogtreecommitdiffstats
path: root/test/unit/member_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/member_test.rb')
-rw-r--r--test/unit/member_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/member_test.rb b/test/unit/member_test.rb
index 70cac6718..b0eb1491d 100644
--- a/test/unit/member_test.rb
+++ b/test/unit/member_test.rb
@@ -88,7 +88,7 @@ class MemberTest < ActiveSupport::TestCase
member = Member.new(:project_id => 1, :user_id => user.id, :role_ids => [])
assert !member.save
assert_include I18n.translate('activerecord.errors.messages.empty'), member.errors[:role]
- assert_equal "R\xc3\xb4le doit \xc3\xaatre renseign\xc3\xa9(e)".force_encoding('UTF-8'),
+ assert_equal 'Rôle doit être renseigné(e)',
[member.errors.full_messages].flatten.join
end