Sha256: 578aa0399ff4e3789cf480c77de6345f8538ba341f9d3baebcf866651ddc1ed9

Contents?: true

Size: 601 Bytes

Versions: 7

Compression:

Stored size: 601 Bytes

Contents

require 'spec_helper'

describe Berkshelf::Vagrant do
  describe "ClassMethods" do
    describe "::shelf_path" do
      it "returns a String" do
        subject.shelf_path.should be_a(String)
      end

      it "is a pathname including the berkshelf_path" do
        subject.shelf_path.should include(Berkshelf.berkshelf_path)
      end
    end

    describe "::mkshelf" do
      it "returns a String" do
        subject.mkshelf.should be_a(String)
      end

      it "is a pathname including the shelf_path" do
        subject.mkshelf.should include(subject.shelf_path)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
vagrant-berkshelf-1.2.0 spec/unit/berkshelf/vagrant_spec.rb
berkshelf-vagrant-1.1.2 spec/unit/berkshelf/vagrant_spec.rb
berkshelf-vagrant-1.1.0 spec/unit/berkshelf/vagrant_spec.rb
berkshelf-vagrant-1.0.6 spec/unit/berkshelf/vagrant_spec.rb
berkshelf-vagrant-1.0.4 spec/unit/berkshelf/vagrant_spec.rb
berkshelf-vagrant-1.0.3 spec/unit/berkshelf/vagrant_spec.rb
berkshelf-vagrant-1.0.0.rc1 spec/unit/berkshelf/vagrant_spec.rb