mirror of
https://github.com/whippyshou/mastodon
synced 2024-11-25 15:46:35 +09: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. |
||
---|---|---|
.. | ||
controllers | ||
fabricators | ||
features | ||
fixtures | ||
helpers | ||
javascript | ||
lib | ||
mailers | ||
models | ||
presenters | ||
requests | ||
routing | ||
services | ||
support/matchers/model | ||
views | ||
rails_helper.rb | ||
spec_helper.rb |