about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2018-10-30 11:22:25 +0100
committerThibaut Girka <thib@sitedethib.com>2018-10-30 11:22:25 +0100
commit94ad76a5b95c5021e3b8b291aeb3558548c9990a (patch)
treedbe38121788776532d7af67ef7ebcabf11c622b8 /spec
parent7ec3f6022d5c991bb584c481a29c416e9f1c5438 (diff)
parent6771e8c88c0a9c4e8a4cd8bd659a7eac2270eb75 (diff)
Merge branch 'master' into glitch-soc/merge-upstream
Diffstat (limited to 'spec')
-rw-r--r--spec/services/notify_service_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/services/notify_service_spec.rb b/spec/services/notify_service_spec.rb
index ff64eccbe..30214030e 100644
--- a/spec/services/notify_service_spec.rb
+++ b/spec/services/notify_service_spec.rb
@@ -124,9 +124,9 @@ RSpec.describe NotifyService, type: :service do
       is_expected.to change(Notification, :count)
     end
 
-    it 'hides reblogs when disabled' do
-      recipient.follow!(sender, reblogs: false)
-      is_expected.to_not change(Notification, :count)
+    it 'shows reblogs when disabled' do
+      recipient.follow!(sender, reblogs: true)
+      is_expected.to change(Notification, :count)
     end
   end