1
0
mirror of https://github.com/mastodon/mastodon synced 2024-11-24 15:16:19 +09:00
mastodon/app
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
..
assets Adding arabic string localization (rebased) (#1895) 2017-04-23 05:58:47 +02:00
controllers ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197) 2017-04-23 05:21:10 +02:00
helpers Test embedded_view related code in a helper (#2282) 2017-04-23 06:05:52 +02:00
lib [WIP] Html lang on statuses (#2297) 2017-04-22 04:26:25 +02:00
mailers Instance helper to replace site title helper (#2038) 2017-04-18 00:16:32 +02:00
models ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197) 2017-04-23 05:21:10 +02:00
presenters Adds version to about/more and API (#2181) 2017-04-21 03:30:59 +02:00
services Improve bio compatibility (#2278) 2017-04-22 03:33:24 +02:00
validators Organize coverage dirs (#1695) 2017-04-13 16:00:31 +02:00
views ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197) 2017-04-23 05:21:10 +02:00
workers Quick best practice cleanup of views/helpers (#1546) 2017-04-12 18:24:18 +02:00