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
				
			
		|  | @ -166,7 +166,7 @@ RSpec.describe NotifyService, type: :service do | |||
|     context 'when email notification is enabled' do | ||||
|       let(:enabled) { true } | ||||
| 
 | ||||
|       it 'sends email' do | ||||
|       it 'sends email', :sidekiq_inline do | ||||
|         expect { subject }.to change(ActionMailer::Base.deliveries, :count).by(1) | ||||
|       end | ||||
|     end | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue