 f6bf989378
			
		
	
	
		f6bf989378
		
	
	
	
	
		
			
			We have an awful lot of integration tests and they are (comparatively) really slow. Let's kill those that test edge case conditions and focus on those that test that our functionality works as expected. Edge cases can be better tested with unit tests.
		
			
				
	
	
		
			9 lines
		
	
	
		
			251 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			251 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| describe "brew ruby", :integration_test do
 | |
|   it "executes ruby code with Homebrew's libraries loaded" do
 | |
|     expect { brew "ruby", "-e", "exit 0" }
 | |
|       .to be_a_success
 | |
|       .and not_to_output.to_stdout
 | |
|       .and not_to_output.to_stderr
 | |
|   end
 | |
| end
 |