logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

well_known_routes_spec.rb (409B)


  1. require 'rails_helper'
  2. describe 'the host-meta route' do
  3. it 'routes to correct place with xml format' do
  4. expect(get('/.well-known/host-meta')).
  5. to route_to('well_known/host_meta#show', format: 'xml')
  6. end
  7. end
  8. describe 'the webfinger route' do
  9. it 'routes to correct place with json format' do
  10. expect(get('/.well-known/webfinger')).
  11. to route_to('well_known/webfinger#show')
  12. end
  13. end