Use Sidekiq fake! instead of inline! in specs (#25369)
		
	This commit is contained in:
		
					parent
					
						
							
								ea1c0feb86
							
						
					
				
			
			
				commit
				
					
						00341c70ff
					
				
			
		
					 53 changed files with 66 additions and 76 deletions
				
			
		|  | @ -10,7 +10,7 @@ describe PollExpirationNotifyWorker do | |||
|   let(:remote?) { false } | ||||
|   let(:poll_vote) { Fabricate(:poll_vote, poll: poll) } | ||||
| 
 | ||||
|   describe '#perform', :sidekiq_fake do | ||||
|   describe '#perform' do | ||||
|     it 'runs without error for missing record' do | ||||
|       expect { worker.perform(nil) }.to_not raise_error | ||||
|     end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue