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

Version Path
testlab-1.3.1 spec/provisioner_spec.rb
testlab-1.3.0 spec/provisioner_spec.rb
testlab-1.2.3 spec/provisioner_spec.rb
testlab-1.2.2 spec/provisioner_spec.rb
testlab-1.2.1 spec/provisioner_spec.rb
testlab-1.2.0 spec/provisioner_spec.rb
testlab-1.1.0 spec/provisioner_spec.rb
testlab-1.0.1 spec/provisioner_spec.rb
testlab-1.0.0 spec/provisioner_spec.rb
testlab-0.9.1 spec/provisioner_spec.rb
testlab-0.9.0 spec/provisioner_spec.rb
testlab-0.8.6 spec/provisioner_spec.rb
testlab-0.8.5 spec/provisioner_spec.rb
testlab-0.8.4 spec/provisioner_spec.rb
testlab-0.8.3 spec/provisioner_spec.rb
testlab-0.8.2 spec/provisioner_spec.rb
testlab-0.8.1 spec/provisioner_spec.rb
testlab-0.8.0 spec/provisioner_spec.rb
testlab-0.7.6 spec/provisioner_spec.rb
testlab-0.7.5 spec/provisioner_spec.rb