1
0
Fork 0
mirror of https://github.com/mastodon/mastodon.git synced 2024-08-20 21:08:15 -07:00
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 Admin reports with accounts (#2092) 2017-04-18 19:36:18 +02:00
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 View spec fix (#1888) 2017-04-16 03:40:33 +02:00
flashes_helper.rb Clean up flash display in views (#2336) 2017-04-23 04:22:34 +02:00
home_helper.rb Improve initialState loading 2017-01-09 12:37:53 +01:00
instance_helper.rb Instance helper to replace site title helper (#2038) 2017-04-18 00:16:32 +02:00
routing_helper.rb Fix rubocop issues, introduce usage of frozen literal to improve performance 2016-11-15 16:56:29 +01:00
settings_helper.rb Add Indonesian (Bahasa Indonesia / id) translation (#2200) 2017-04-21 19:16:26 +02:00
stream_entries_helper.rb Test embedded_view related code in a helper (#2282) 2017-04-23 06:05:52 +02:00
style_helper.rb Check for a custom css file to help customization of instances (#1368) 2017-04-15 22:47:48 +02:00