This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
2019-03-18 13:00:55 -07:00
|
|
|
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)
|
2021-03-17 02:09:55 -07:00
|
|
|
expect(response.media_type).to eq 'application/json'
|
2019-03-18 13:00:55 -07:00
|
|
|
expect { JSON.parse(response.body) }.not_to raise_exception
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|