Sha256: 56b95a366e71023be71018f6e6a943c186eb942cc422fe7ad280424b6e8c61b5
Contents?: true
Size: 1.36 KB
Versions: 125
Compression:
Stored size: 1.36 KB
Contents
################################################################################ # # Author: Zachary Patten <zachary AT jovelabs DOT com> # Copyright: Copyright (c) Zachary Patten # License: Apache License, Version 2.0 # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # ################################################################################ require "spec_helper" describe TestLab::Provisioner do subject { TestLab::Provisioner.new } describe "class" do it "should be an instance of TestLab::Provisioner" do subject.should be_an_instance_of TestLab::Provisioner end end describe "methods" do describe "template_dir" do it "should return the path to the provisioner template directory" do subject.class.template_dir.should == "#{TestLab.gem_dir}/lib/testlab/provisioners/templates" end end end end
Version data entries
125 entries across 125 versions & 1 rubygems