| 
									
										
										
										
											2020-08-18 16:47:20 +01:00
										 |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-04-03 09:12:47 -07:00
										 |  |  | RSpec.describe Homebrew, :integration_test do | 
					
						
							| 
									
										
										
										
											2020-08-18 16:47:20 +01:00
										 |  |  |   it "does not invoke `require \"formula\"` at startup" do | 
					
						
							|  |  |  |     expect { brew "verify-formula-undefined" } | 
					
						
							|  |  |  |       .to not_to_output.to_stdout | 
					
						
							|  |  |  |       .and not_to_output.to_stderr | 
					
						
							|  |  |  |       .and be_a_success | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |