Merge branch 'master' into glitch-soc/merge-upstream

This commit is contained in:
Thibaut Girka
2018-10-30 11:22:25 +01:00
6 changed files with 34 additions and 32 deletions

View File

@@ -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