This repository has been archived on 2019-05-14. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/spec/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 Rename admin/accounts_helper to admin/filter_helper (#1816) 2017-04-15 03:09:55 +02:00
application_helper_spec.rb View spec fix (#1888) 2017-04-16 03:40:33 +02:00
home_helper_spec.rb Adding a bunch of tests 2016-02-26 15:28:08 +01:00
instance_helper_spec.rb Instance helper to replace site title helper (#2038) 2017-04-18 00:16:32 +02:00
routing_helper.rb Adding a bunch of tests 2016-02-26 15:28:08 +01:00
stream_entries_helper_spec.rb Test embedded_view related code in a helper (#2282) 2017-04-23 06:05:52 +02:00