13 lines
		
	
	
		
			225 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
		
		
			
		
	
	
			13 lines
		
	
	
		
			225 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| 
								 | 
							
								require_relative "shared_examples"
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								describe UnpackStrategy::Mercurial do
							 | 
						||
| 
								 | 
							
								  let(:repo) {
							 | 
						||
| 
								 | 
							
								    mktmpdir.tap do |repo|
							 | 
						||
| 
								 | 
							
								      (repo/".hg").mkpath
							 | 
						||
| 
								 | 
							
								    end
							 | 
						||
| 
								 | 
							
								  }
							 | 
						||
| 
								 | 
							
								  let(:path) { repo }
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								  include_examples "UnpackStrategy::detect"
							 | 
						||
| 
								 | 
							
								end
							 |