Sha256: 60b8de67917763488baa0bc68595455dc131b882556dd796b40e76dc1ea4c855
Contents?: true
Size: 522 Bytes
Versions: 7
Compression:
Stored size: 522 Bytes
Contents
require File.dirname(__FILE__) + '/../../spec_helper' describe Sprinkle::Installers::Noop do before do @package = mock(Sprinkle::Package, :name => 'spec') end def create_noop(names, options = {}, &block) Sprinkle::Installers::Noop.new(@package, options, &block) end describe 'during installation' do it 'should always be empty' do @installer = create_noop 'spec' @install_commands = @installer.send :install_commands @install_commands.should == 'echo noop' end end end
Version data entries
7 entries across 7 versions & 3 rubygems