You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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
8 years ago
..
controllers Assign user locale on signup (#1982) 8 years ago
fabricators Refresh webfinger (#1323) 9 years ago
features Introduce capybara and first feature spec (#1801) 9 years ago
fixtures Imports controller errors (#1553) 9 years ago
helpers View spec fix (#1888) 8 years ago
javascript Add unit tests for https://github.com/tootsuite/mastodon/pull/1574 (#1584) 9 years ago
lib Fix tests issue introduced in #1607 (#1639) 9 years ago
mailers Add digest e-mails 9 years ago
models Add recovery code support for two-factor auth (#1773) 9 years ago
presenters About page contact email (#1839) 9 years ago
requests Improve handling of HTTP_ACCEPT for webfinger (#2008) 8 years ago
routing Improve handling of HTTP_ACCEPT for webfinger (#2008) 8 years ago
services Fix nil query_username (#2013) 8 years ago
support/matchers/model add more tests to models 9 years ago
views Make file attachment on MediaAttachment optional (#1865) 8 years ago
i18n_spec.rb Improve docs 9 years ago
rails_helper.rb Silence Devise deprecation warning about TestHelpers (#1840) 9 years ago
spec_helper.rb View spec fix (#1888) 8 years ago