Fix Rails/WhereExists cop in lib/tasks (#28852)
				
					
				
			This commit is contained in:
		@@ -24,7 +24,7 @@ namespace :tests do
 | 
			
		||||
        exit(1)
 | 
			
		||||
      end
 | 
			
		||||
 | 
			
		||||
      if Account.where(domain: Rails.configuration.x.local_domain).exists?
 | 
			
		||||
      if Account.exists?(domain: Rails.configuration.x.local_domain)
 | 
			
		||||
        puts 'Faux remote accounts not properly cleaned up'
 | 
			
		||||
        exit(1)
 | 
			
		||||
      end
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user