]> cat aescling's git repositories - mastodon.git/commit
Stream entry specs and refactor to use delegate (#2827)
authorMatt Jankowski <mjankowski@thoughtbot.com>
Sat, 6 May 2017 02:00:21 +0000 (22:00 -0400)
committerEugen Rochko <eugen@zeonfederated.com>
Sat, 6 May 2017 02:00:21 +0000 (04:00 +0200)
commit3f5b994ff0674fa8e0e5676ca22f0c347f9d7712
treed1d4578daac486b3f5b6a360066919b3cccbfaee
parentdacdfec9734a99577658c34c46bbcbd431dc148d
Stream entry specs and refactor to use delegate (#2827)

* Add coverage for stream entry delegated methods

* Use delegate with allow_nil to clean up stream entry
app/models/stream_entry.rb
spec/models/stream_entry_spec.rb