keybase_proof_config_controller_spec.rb 372 B

123456789101112131415
  1. require 'rails_helper'
  2. describe WellKnown::KeybaseProofConfigController, type: :controller do
  3. render_views
  4. describe 'GET #show' do
  5. it 'renders json' do
  6. get :show
  7. expect(response).to have_http_status(200)
  8. expect(response.content_type).to eq 'application/json'
  9. expect { JSON.parse(response.body) }.not_to raise_exception
  10. end
  11. end
  12. end