about summary refs log tree commit diff
path: root/app/assets/javascripts/components
diff options
context:
space:
mode:
authorJoël Quenneville <joel.quen@gmail.com>2017-04-23 00:05:52 -0400
committerEugen <eugen@zeonfederated.com>2017-04-23 06:05:52 +0200
commit1cf9e14a416cd70aaa85453c411d95a3b3c82472 (patch)
treed0d38bf3ebf38b4c3c0eb00caae079a6fa053371 /app/assets/javascripts/components
parent0c2fe22bc19a82899c7577410bc869db7d42955a (diff)
Test embedded_view related code in a helper (#2282)
The two methods `StreamEntriesHelper#stream_link_target` and
`StreamEntriesHelper#acct` are based on checking whether we are running
in an embedded view.

This adds some test helper code to make the testing easier. We extracted
some "magic strings" to constants to lower the coupling in the specs.
Diffstat (limited to 'app/assets/javascripts/components')
0 files changed, 0 insertions, 0 deletions