The code powering m.abunchtell.com https://m.abunchtell.com
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

  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