summaryrefslogtreecommitdiffstats
path: root/test/unit/member_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-08 13:37:27 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-12-08 13:37:27 +0000
commit15bb2fefa40c536762ac01decef76633ba185ccb (patch)
treedfaf673131e7294eb94457db7114569079d56544 /test/unit/member_test.rb
parentd9699adce500d34ba7bd07959485e14de6031f92 (diff)
downloadredmine-15bb2fefa40c536762ac01decef76633ba185ccb.tar.gz
redmine-15bb2fefa40c536762ac01decef76633ba185ccb.zip
back out r8124
r8124 shows ":roles can't be empty". git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8125 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/member_test.rb')
-rw-r--r--test/unit/member_test.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/unit/member_test.rb b/test/unit/member_test.rb
index 13a00c724..d8267158e 100644
--- a/test/unit/member_test.rb
+++ b/test/unit/member_test.rb
@@ -74,7 +74,6 @@ class MemberTest < ActiveSupport::TestCase
assert user.save
member = Member.new(:project_id => 1, :user_id => user.id, :role_ids => [])
assert !member.save
- assert_equal I18n.translate('activerecord.errors.messages.empty'), member.errors[:roles].to_s
end
def test_validate_member_role