Sha256: fedcb759c2b93062f9784fd2c317364c0f42b1ef094bcfba5aaefeb1c4b4e56b

Contents?: true

Size: 334 Bytes

Versions: 3

Compression:

Stored size: 334 Bytes

Contents

require 'spec_helper'

describe Brewdler::Dsl do
  let(:dsl) { Brewdler::Dsl.new("tap 'phinze/cask'\nbrew 'git'\ncask 'google-chrome'") }

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
brewdler-1.0.1 spec/dsl_spec.rb
brewdler-1.0.0 spec/dsl_spec.rb
brewdler-0.5.0 spec/dsl_spec.rb