闭社主体 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.

15 lines
350 B

  1. # frozen_string_literal: true
  2. require 'rails_helper'
  3. RSpec.describe Admin::PubsubhubbubController, type: :controller do
  4. describe 'GET #index' do
  5. before do
  6. sign_in Fabricate(:user, admin: true), scope: :user
  7. end
  8. it 'returns http success' do
  9. get :index
  10. expect(response).to have_http_status(:success)
  11. end
  12. end
  13. end