Adding a bunch of tests
This commit is contained in:
@ -29,7 +29,7 @@ class StreamEntry < ActiveRecord::Base
|
||||
end
|
||||
|
||||
def threaded?
|
||||
[:favorite, :comment].include? verb
|
||||
verb == :favorite || object_type == :comment
|
||||
end
|
||||
|
||||
def thread
|
||||
|
Reference in New Issue
Block a user