Sha256: 793c42215fc8be01e805f9ab4b04e33e8570fcccfdf95b7fbe5aead0c35d9d6f

Contents?: true

Size: 394 Bytes

Versions: 1

Compression:

Stored size: 394 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
    expect(dsl).to receive(:tap).with('phinze/cask')
    expect(dsl).to receive(:brew).twice
    expect(dsl).to receive(:cask).with('google-chrome')
    dsl.process
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
brewdler-1.1.1 spec/dsl_spec.rb