0
0
Fork 0

Add simple admin overview of PuSH subscriptions

This commit is contained in:
Eugen Rochko 2016-11-28 18:45:13 +01:00
parent 7e5e33df48
commit 27fc49d745
9 changed files with 97 additions and 0 deletions

View file

@ -0,0 +1,15 @@
# frozen_string_literal: true
require 'rails_helper'
RSpec.describe Admin::PubsubhubbubController, type: :controller do
describe 'GET #index' do
before do
sign_in :user, Fabricate(:user, admin: true)
end
it 'returns http success' do
get :index
expect(response).to have_http_status(:success)
end
end
end