about summary refs log tree commit diff
path: root/spec/services/favourite_service_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/favourite_service_spec.rb')
-rw-r--r--spec/services/favourite_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/favourite_service_spec.rb b/spec/services/favourite_service_spec.rb
index 8703c2af8..4f621200a 100644
--- a/spec/services/favourite_service_spec.rb
+++ b/spec/services/favourite_service_spec.rb
@@ -1,10 +1,10 @@
 require 'rails_helper'
 
 RSpec.describe FavouriteService, type: :service do
-  let(:sender) { Fabricate(:account, username: 'alice') }
-
   subject { FavouriteService.new }
 
+  let(:sender) { Fabricate(:account, username: 'alice') }
+
   describe 'local' do
     let(:bob)    { Fabricate(:account) }
     let(:status) { Fabricate(:status, account: bob) }