about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-29 15:49:39 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-29 15:49:39 +0100
commit7e90772c92fd121dfe0f1eb788fb09eb3df4cbc8 (patch)
tree12965c80362a71d8f0d436c815f4fb4aa2d25b85 /spec
parent93a90cd9c364680cfcc4c1d1ada13efed233e5bd (diff)
Unify collection caching code
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/admin/pubsubhubbub_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
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