14 lines
		
	
	
		
			353 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			353 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| require "helper/integration_command_test_case"
 | |
| 
 | |
| class IntegrationCommandTestUnpack < IntegrationCommandTestCase
 | |
|   def test_unpack
 | |
|     setup_test_formula "testball"
 | |
| 
 | |
|     mktmpdir do |path|
 | |
|       cmd "unpack", "testball", "--destdir=#{path}"
 | |
|       assert File.directory?("#{path}/testball-0.1"),
 | |
|         "The tarball should be unpacked"
 | |
|     end
 | |
|   end
 | |
| end
 | 
