| 
									
										
										
										
											2018-05-23 13:00:05 -04:00
										 |  |  | describe "brew linkage", :integration_test do | 
					
						
							|  |  |  |   before do | 
					
						
							|  |  |  |     setup_test_formula "testball" | 
					
						
							|  |  |  |     (HOMEBREW_CELLAR/"testball/0.0.1/foo").mkpath | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-29 19:57:39 +01:00
										 |  |  |   it "works when no arguments are provided" do | 
					
						
							|  |  |  |     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 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2018-06-29 19:57:39 +01:00
										 |  |  |   it "works when one argument is provided" do | 
					
						
							|  |  |  |     expect { brew "linkage", "testball" } | 
					
						
							|  |  |  |       .to be_a_success | 
					
						
							|  |  |  |       .and not_to_output.to_stderr | 
					
						
							| 
									
										
										
										
											2018-05-23 13:00:05 -04:00
										 |  |  |   end | 
					
						
							|  |  |  | end |