You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
372 B
16 lines
372 B
6 years ago
|
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
|