Fixes an object instantiation in tests.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3700 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7ccdaee110
commit
b6cd076441
|
@ -74,7 +74,7 @@ class MemberTest < ActiveSupport::TestCase
|
|||
Watcher.delete_all("user_id = 9")
|
||||
user = User.find(9)
|
||||
# public
|
||||
Watcher.create!(:watchable => Issue.find(1), :user_id => user)
|
||||
Watcher.create!(:watchable => Issue.find(1), :user => user)
|
||||
# private
|
||||
Watcher.create!(:watchable => Issue.find(4), :user => user)
|
||||
Watcher.create!(:watchable => Message.find(7), :user => user)
|
||||
|
|
Loading…
Reference in New Issue