1
0
Fork 0
forked from fedi/mastodon
mastodon/spec
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
..
controllers ActivityPub: Add basic, read-only support for Outboxes, Notes, and Create/Announce Activities (#2197) 2017-04-23 05:21:10 +02:00
fabricators Refresh webfinger (#1323) 2017-04-15 03:16:05 +02:00
features Introduce capybara and first feature spec (#1801) 2017-04-15 01:21:02 +02:00
fixtures Fix #2108 - Fix gif uploads (#2171) 2017-04-19 23:21:00 +02:00
helpers Test embedded_view related code in a helper (#2282) 2017-04-23 06:05:52 +02:00
javascript Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584) 2017-04-12 17:16:59 +02:00
lib [WIP] Html lang on statuses (#2297) 2017-04-22 04:26:25 +02:00
mailers
models Admin UI for confirming users (#2245) 2017-04-23 04:43:42 +02:00
presenters About page contact email (#1839) 2017-04-15 13:33:25 +02:00
requests Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
routing Restful refactor of accounts/ routes (#2133) 2017-04-19 13:52:37 +02:00
services Fix possibility of unrightful webfinger redirect (#2147) 2017-04-19 17:28:35 +02:00
support/matchers/model
views Add og:url tags (#2298) 2017-04-22 17:29:46 +02:00
rails_helper.rb Silence Devise deprecation warning about TestHelpers (#1840) 2017-04-15 13:30:57 +02:00
spec_helper.rb Add more tests for AtomSerializer (#2096) 2017-04-18 22:30:17 +02:00