about summary refs log tree commit diff
path: root/spec/workers/pubsubhubbub/confirmation_worker_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/workers/pubsubhubbub/confirmation_worker_spec.rb')
-rw-r--r--spec/workers/pubsubhubbub/confirmation_worker_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/workers/pubsubhubbub/confirmation_worker_spec.rb b/spec/workers/pubsubhubbub/confirmation_worker_spec.rb
index 3951c1a50..1199d5801 100644
--- a/spec/workers/pubsubhubbub/confirmation_worker_spec.rb
+++ b/spec/workers/pubsubhubbub/confirmation_worker_spec.rb
@@ -8,7 +8,7 @@ describe Pubsubhubbub::ConfirmationWorker do
   subject { described_class.new }
 
   let!(:alice) { Fabricate(:account, username: 'alice') }
-  let!(:subscription) { Fabricate(:subscription, account_id: alice.id, callback_url: 'http://example.com/api', confirmed: false, expires_at: 3.days.from_now, secret: nil) }
+  let!(:subscription) { Fabricate(:subscription, account: alice, callback_url: 'http://example.com/api', confirmed: false, expires_at: 3.days.from_now, secret: nil) }
 
   describe 'perform' do
     describe 'with subscribe mode' do