0
0
Fork 0

Unify collection caching code

This commit is contained in:
Eugen Rochko 2016-11-29 15:49:39 +01:00
parent 93a90cd9c3
commit 7e90772c92
6 changed files with 30 additions and 87 deletions

View file

@ -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