diff options
author | Thibaut Girka <thib@sitedethib.com> | 2018-10-30 12:46:05 +0100 |
---|---|---|
committer | Thibaut Girka <thib@sitedethib.com> | 2018-10-30 12:46:05 +0100 |
commit | 48be335f4f64c5513bb4b0d760225ceca78416c2 (patch) | |
tree | da19d2883856a99ba2a0b7caddff8b67683a070a /spec | |
parent | 3aa2418217edf77ccfd499064938896dce4c2bee (diff) |
Remove duplicate and outdated specs
Diffstat (limited to 'spec')
-rw-r--r-- | spec/services/notify_service_spec.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/spec/services/notify_service_spec.rb b/spec/services/notify_service_spec.rb index 30214030e..7bfca7fb5 100644 --- a/spec/services/notify_service_spec.rb +++ b/spec/services/notify_service_spec.rb @@ -47,26 +47,6 @@ RSpec.describe NotifyService, type: :service do recipient.update(suspended: true) is_expected.to_not change(Notification, :count) end - - describe 'reblogs' do - let(:status) { Fabricate(:status, account: Fabricate(:account)) } - let(:activity) { Fabricate(:status, account: sender, reblog: status) } - - it 'shows reblogs by default' do - recipient.follow!(sender) - is_expected.to change(Notification, :count) - end - - it 'shows reblogs when explicitly enabled' do - recipient.follow!(sender, reblogs: true) - 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) - end - end context 'for direct messages' do let(:activity) { Fabricate(:mention, account: recipient, status: Fabricate(:status, account: sender, visibility: :direct)) } |