Remove duplicate and outdated specs
This commit is contained in:
		
							parent
							
								
									3aa2418217
								
							
						
					
					
						commit
						48be335f4f
					
				| 
						 | 
				
			
			@ -48,26 +48,6 @@ RSpec.describe NotifyService, type: :service do
 | 
			
		|||
    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)) }
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue