Unify collection caching code
This commit is contained in:
parent
93a90cd9c3
commit
7e90772c92
6 changed files with 30 additions and 87 deletions
|
@ -4,7 +4,7 @@ require 'rails_helper'
|
|||
RSpec.describe Admin::PubsubhubbubController, type: :controller do
|
||||
describe 'GET #index' do
|
||||
before do
|
||||
sign_in :user, Fabricate(:user, admin: true)
|
||||
sign_in Fabricate(:user, admin: true), scope: :user
|
||||
end
|
||||
|
||||
it 'returns http success' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue