]> cat aescling's git repositories - mastodon.git/commitdiff
Remove duplicate and outdated specs
authorThibaut Girka <thib@sitedethib.com>
Tue, 30 Oct 2018 11:46:05 +0000 (12:46 +0100)
committerThibaut Girka <thib@sitedethib.com>
Tue, 30 Oct 2018 11:46:05 +0000 (12:46 +0100)
spec/services/notify_service_spec.rb

index 30214030eec637b90415fd7c9f033569377d1544..7bfca7fb5efe4bba243266d61b12d986f96425aa 100644 (file)
@@ -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)) }
This page took 0.026824 seconds and 3 git commands to generate.