Adding a bunch of tests
This commit is contained in:
parent
44c5958203
commit
f16b31f077
22 changed files with 439 additions and 105 deletions
|
@ -29,7 +29,7 @@ class StreamEntry < ActiveRecord::Base
|
|||
end
|
||||
|
||||
def threaded?
|
||||
[:favorite, :comment].include? verb
|
||||
verb == :favorite || object_type == :comment
|
||||
end
|
||||
|
||||
def thread
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue