Sha256: 8e6d2ec76b02543077c9532bcbe2ed81f9eaeb788eeff5fb50c17a71c0f862bf

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

require File.expand_path('spec_helper', File.dirname(__FILE__))

require 'osx_provision'

RSpec.describe OsxProvision do
  subject { OsxProvision.new self.class, ".osx_provision.json" }

  describe "#prepare" do
    it "calls prepare method" do
      expect(subject).to receive(:run)

      subject.prepare
    end
  end

  describe "#homebrew_install" do
    it "calls homebrew_install method" do
      expect(subject).to receive(:run)

      subject.brew
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
osx_provision-0.9.9 spec/osx_provision_spec.rb