闭社主体 forked from https://github.com/tootsuite/mastodon
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.

19 lines
380 B

  1. require 'rails_helper'
  2. describe ManifestsController do
  3. render_views
  4. describe 'GET #show' do
  5. before do
  6. get :show, format: :json
  7. end
  8. it 'assigns @instance_presenter' do
  9. expect(assigns(:instance_presenter)).to be_kind_of InstancePresenter
  10. end
  11. it 'returns http success' do
  12. expect(response).to have_http_status(:success)
  13. end
  14. end
  15. end