about summary refs log tree commit diff
path: root/spec/controllers/api/v1/notifications_controller_spec.rb
diff options
context:
space:
mode:
authorStarfall <us@starfall.systems>2021-03-04 23:55:42 -0600
committerStarfall <us@starfall.systems>2021-03-04 23:55:42 -0600
commitfe6381b9acc28cd610b032160de2952e1fdefc86 (patch)
treead1ba10427d5d792d3ba797479528f01e51404a5 /spec/controllers/api/v1/notifications_controller_spec.rb
parent033b1b5b900babc9b068ddad0ae644c5f15e9ffe (diff)
parentf4abf8e7829c6a5b952dea6fb9ad01b6b3601f95 (diff)
Merge remote-tracking branch 'glitchsoc/main' into main
Diffstat (limited to 'spec/controllers/api/v1/notifications_controller_spec.rb')
-rw-r--r--spec/controllers/api/v1/notifications_controller_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/api/v1/notifications_controller_spec.rb b/spec/controllers/api/v1/notifications_controller_spec.rb
index db3f4b782..5a0b24bbf 100644
--- a/spec/controllers/api/v1/notifications_controller_spec.rb
+++ b/spec/controllers/api/v1/notifications_controller_spec.rb
@@ -57,7 +57,7 @@ RSpec.describe Api::V1::NotificationsController, type: :controller do
       @mention_from_status = mentioning_status.mentions.first
       @favourite = FavouriteService.new.call(other.account, first_status)
       @second_favourite = FavouriteService.new.call(third.account, first_status)
-      @follow = FollowService.new.call(other.account, 'alice')
+      @follow = FollowService.new.call(other.account, user.account)
     end
 
     describe 'with no options' do