Sha256: fec449461888096cf658970306887924f30fee211a876e0bab203a345a916ab2

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

require 'spec_helper'

describe Brewdler::Dsl do
  let(:dsl) { Brewdler::Dsl.new("brew 'git'\ncask 'google-chrome'") }

  it "processes input" do
    dsl.should_receive(:brew).with('git')
    dsl.should_receive(:cask).with('google-chrome')
    dsl.process
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brewdler-0.4.1 spec/dsl_spec.rb