mastodon/spec
Matt Jankowski 21a767dcfa Improve handling of HTTP_ACCEPT for webfinger (#2008)
This change includes:

- Improve the spec coverage for incoming request to the webfinger action
- For requests without an accept header (ie, what a browser might look like),
  return a JSON response.
- For requests with an explicit format of xml or json, return that format.
- For requests using an accept header, return that format.

Also adds failing spec showing webfinger does not return xml, which covers the
issue described in: https://github.com/tootsuite/mastodon/issues/1983
2017-04-17 19:58:03 +02:00
..
controllers
fabricators
features
fixtures
helpers
javascript Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584) 2017-04-12 17:16:59 +02:00
lib
mailers
models
presenters
requests Improve handling of HTTP_ACCEPT for webfinger (#2008) 2017-04-17 19:58:03 +02:00
routing Improve handling of HTTP_ACCEPT for webfinger (#2008) 2017-04-17 19:58:03 +02:00
services
support/matchers/model
views
i18n_spec.rb
rails_helper.rb
spec_helper.rb View spec fix (#1888) 2017-04-16 03:40:33 +02:00