Sha256: 9c1697f2d79c9a74baf9dd043f7d23bdf8e39778867f4e90b2912709fbb1dc26
Contents?: true
Size: 778 Bytes
Versions: 4
Compression:
Stored size: 778 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 it "is a pathname including machine name" do machine_name = 'fantastic_machine' subject.mkshelf(machine_name).should include(machine_name) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems