mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-09 00:15:05 +00:00
16 lines
372 B
Ruby
16 lines
372 B
Ruby
|
require 'rails_helper'
|
||
|
|
||
|
describe WellKnown::KeybaseProofConfigController, type: :controller do
|
||
|
render_views
|
||
|
|
||
|
describe 'GET #show' do
|
||
|
it 'renders json' do
|
||
|
get :show
|
||
|
|
||
|
expect(response).to have_http_status(200)
|
||
|
expect(response.content_type).to eq 'application/json'
|
||
|
expect { JSON.parse(response.body) }.not_to raise_exception
|
||
|
end
|
||
|
end
|
||
|
end
|