@@ -56,7 +56,7 class WatcherTest < ActiveSupport::TestCase | |||||
56 |
|
56 | |||
57 | def test_watcher_users |
|
57 | def test_watcher_users | |
58 | watcher_users = Issue.find(2).watcher_users |
|
58 | watcher_users = Issue.find(2).watcher_users | |
59 | assert_kind_of Array, watcher_users |
|
59 | assert_kind_of Array, watcher_users.collect{|w| w} | |
60 | assert_kind_of User, watcher_users.first |
|
60 | assert_kind_of User, watcher_users.first | |
61 | end |
|
61 | end | |
62 |
|
62 |
General Comments 0
You need to be logged in to leave comments.
Login now