Remove hard reference from status pin validator spec (#30432)
This commit is contained in:
		
							parent
							
								
									404e203d41
								
							
						
					
					
						commit
						564ebfefcf
					
				@ -45,8 +45,8 @@ RSpec.describe StatusPinValidator do
 | 
				
			|||||||
      end
 | 
					      end
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    context 'when pin.account.status_pins.count > 4 && pin.account.local?' do
 | 
					    context 'when pin account is local and has too many pins' do
 | 
				
			||||||
      let(:count) { 5 }
 | 
					      let(:count) { described_class::PIN_LIMIT + 1 }
 | 
				
			||||||
      let(:local) { true }
 | 
					      let(:local) { true }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      it 'calls errors.add' do
 | 
					      it 'calls errors.add' do
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user