about summary refs log tree commit diff
path: root/spec
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2018-10-30 00:47:31 +0100
committerEugen Rochko <eugen@zeonfederated.com>2018-10-30 00:47:31 +0100
commit33a71e8f7cd28aad5aa690a6d77aa83fe289f69c (patch)
tree31d2a7d2ca9dd13915387b054ea4f8fbbc78a0b3 /spec
parente84da282f6331d463678a7e3ccd37e66c0dfcab3 (diff)
Do not hide boost notifications from followed people with hidden boosts (#9147)
* Do not hide boost notifications from followed people with hidden boosts

Not displaying boosts from a followed user in the Home timeline and not
having notifications when they reblog your own content are two very
separate concerns, tying them together seem counter-intuitive and unwanted.

* Update specs accordingly
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 d34667943..39a681abb 100644
--- a/spec/services/notify_service_spec.rb
+++ b/spec/services/notify_service_spec.rb
@@ -104,9 +104,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