Sha256: cd88bf78703d4e602bda3cfea07e240381068bc5f9058121e7301349f2314798

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper'

describe Brewdler::Dsl do
  let(:dsl) { Brewdler::Dsl.new("tap 'phinze/cask'\nbrew 'git'\ncask 'google-chrome'\nbrew 'emacs', args: ['cocoa', 'srgb', 'with-gnutls']") }

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brewdler-1.1.0 spec/dsl_spec.rb