From 7e90772c92fd121dfe0f1eb788fb09eb3df4cbc8 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 29 Nov 2016 15:49:39 +0100 Subject: Unify collection caching code --- spec/controllers/admin/pubsubhubbub_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec') diff --git a/spec/controllers/admin/pubsubhubbub_controller_spec.rb b/spec/controllers/admin/pubsubhubbub_controller_spec.rb index 4e8016b70..068bd09a6 100644 --- a/spec/controllers/admin/pubsubhubbub_controller_spec.rb +++ b/spec/controllers/admin/pubsubhubbub_controller_spec.rb @@ -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 -- cgit