diff options
-rw-r--r-- | test/unit/member_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/member_test.rb b/test/unit/member_test.rb index 323ec1e9e..7b9d401f3 100644 --- a/test/unit/member_test.rb +++ b/test/unit/member_test.rb @@ -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) |