Sha256: 3052f99fa33bb21596013504535bbd1205685f54b4c4dbb31e38dcfb618ff72b

Contents?: true

Size: 395 Bytes

Versions: 3

Compression:

Stored size: 395 Bytes

Contents

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

module Chester::Command
  
  describe Brew do
    before do
      @brew = prepare_command(Brew)
    end
    
    it "should compile all of the coffee scripts" do
      @brew.should_receive(:display).exactly(3).times
      Dir.stub!(:glob).and_return(['test.coffee'])
      @brew.should_receive(:system)
      @brew.index
    end
    
  end
  
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

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