| 
									
										
										
										
											2017-02-23 06:06:19 +01:00
										 |  |  | describe "brew unlink", :integration_test do | 
					
						
							|  |  |  |   it "unlinks a Formula" do | 
					
						
							|  |  |  |     setup_test_formula "testball" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2017-07-29 19:55:05 +02:00
										 |  |  |     expect { brew "install", "testball" }.to be_a_success | 
					
						
							| 
									
										
										
										
											2017-02-23 06:06:19 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  |     expect { brew "unlink", "--dry-run", "testball" } | 
					
						
							|  |  |  |       .to output(/Would remove/).to_stdout | 
					
						
							|  |  |  |       .and not_to_output.to_stderr | 
					
						
							|  |  |  |       .and be_a_success | 
					
						
							|  |  |  |   end | 
					
						
							|  |  |  | end |