| 
									
										
										
										
											2020-10-10 14:16:11 +02:00
										 |  |  | # typed: false | 
					
						
							| 
									
										
										
										
											2019-04-19 15:38:03 +09:00
										 |  |  | # frozen_string_literal: true | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2019-03-27 11:49:56 +00:00
										 |  |  | require "cmd/shared_examples/args_parse" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-02-01 16:14:25 -05:00
										 |  |  | describe "brew linkage" do | 
					
						
							| 
									
										
										
										
											2019-03-27 11:49:56 +00:00
										 |  |  |   it_behaves_like "parseable arguments" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-02-01 16:14:25 -05:00
										 |  |  |   it "works when no arguments are provided", :integration_test do | 
					
						
							| 
									
										
										
										
											2018-05-23 13:00:05 -04:00
										 |  |  |     setup_test_formula "testball" | 
					
						
							|  |  |  |     (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-29 19:57:39 +01:00
										 |  |  |     expect { brew "linkage" } | 
					
						
							|  |  |  |       .to be_a_success | 
					
						
							|  |  |  |       .and not_to_output.to_stdout | 
					
						
							|  |  |  |       .and not_to_output.to_stderr | 
					
						
							| 
									
										
										
										
											2018-05-23 13:00:05 -04:00
										 |  |  |   end | 
					
						
							|  |  |  | end |