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.

17 lines
366 B

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