mastodon/app/helpers
Joël Quenneville 1cf9e14a41 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.
2017-04-23 06:05:52 +02:00
..
admin
activitystreams2_builder_helper.rb ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197) 2017-04-23 05:21:10 +02:00
application_helper.rb
flashes_helper.rb
home_helper.rb
instance_helper.rb
routing_helper.rb
settings_helper.rb
stream_entries_helper.rb Test embedded_view related code in a helper (#2282) 2017-04-23 06:05:52 +02:00
style_helper.rb