14 lines
		
	
	
		
			420 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			420 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| require "test/support/helper/spec/shared_examples/hbc_dsl_base"
 | |
| require "test/support/helper/spec/shared_examples/hbc_staged"
 | |
| 
 | |
| describe Hbc::DSL::UninstallPreflight, :cask do
 | |
|   let(:cask) { Hbc::CaskLoader.load(cask_path("basic-cask")) }
 | |
|   let(:dsl) { Hbc::DSL::UninstallPreflight.new(cask, Hbc::FakeSystemCommand) }
 | |
| 
 | |
|   it_behaves_like Hbc::DSL::Base
 | |
| 
 | |
|   it_behaves_like Hbc::Staged do
 | |
|     let(:staged) { dsl }
 | |
|   end
 | |
| end
 | 
