mirror of
https://github.com/mastodon/mastodon.git
synced 2024-08-20 21:08:15 -07:00
1cf9e14a41
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. |
||
---|---|---|
.. | ||
admin | ||
application_helper_spec.rb | ||
home_helper_spec.rb | ||
instance_helper_spec.rb | ||
routing_helper.rb | ||
stream_entries_helper_spec.rb |