Sha256: e603d54dfcd7f913bd7af5fb3a138462e891164e5ea3b6024f151a78a084b841

Contents?: true

Size: 410 Bytes

Versions: 3

Compression:

Stored size: 410 Bytes

Contents

require File.dirname(__FILE__) + '/../base'

module Chester::Command
  
  describe Install do
    before do
      @install = prepare_command(Install)
    end
    
    it "should create chester.coffee" do
      FileUtils.stub!(:cp).and_return(true)
      @install.should_receive(:display).with('installed chester.coffee in to the working directory....')
      
      @install.index
    end
    
  end
  
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
chester-0.4.0 spec/commands/install_spec.rb
chester-0.3.1 spec/commands/install_spec.rb
chester-0.2.0 spec/commands/install_spec.rb