Sha256: 4bdb847c0fa44563d507212beb331bb0410bad026986f3efb9684ad1114d7c75

Contents?: true

Size: 328 Bytes

Versions: 10

Compression:

Stored size: 328 Bytes

Contents

require 'spec_helper'

describe "berkshelf errors" do
  describe Berkshelf::VagrantWrapperError do
    subject { described_class }

    it "proxies messages to the original exception" do
      original = double('original_error')
      original.should_receive(:a_message)

      subject.new(original).a_message
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
berkshelf-1.2.1 spec/unit/berkshelf/errors_spec.rb
berkshelf-1.2.0.rc1 spec/unit/berkshelf/errors_spec.rb
berkshelf-1.1.6 spec/unit/berkshelf/errors_spec.rb
berkshelf-1.1.5 spec/unit/berkshelf/errors_spec.rb
berkshelf-1.1.4 spec/unit/berkshelf/errors_spec.rb
berkshelf-1.1.3 spec/unit/berkshelf/errors_spec.rb
berkshelf-1.1.2 spec/unit/berkshelf/errors_spec.rb
berkshelf-1.1.1 spec/unit/berkshelf/errors_spec.rb
berkshelf-1.1.0 spec/unit/berkshelf/errors_spec.rb
berkshelf-1.1.0.rc1 spec/unit/berkshelf/errors_spec.rb