params_spec.rb #1

  • //
  • main/
  • guest/
  • perforce_software/
  • chronicle/
  • main/
  • manifests/
  • modules/
  • apache/
  • spec/
  • classes/
  • params_spec.rb
  • View
  • Commits
  • Open Download .zip Download (630 B)
require 'spec_helper'

describe 'apache::params', :type => :class do
  context "On a Debian OS" do
    let :facts do
      {
        :osfamily               => 'Debian',
        :operatingsystemrelease => '6',
        :concat_basedir         => '/dne',
      }
    end
    it { should contain_apache__params }

    # There are 4 resources in this class currently
    # there should not be any more resources because it is a params class
    # The resources are class[apache::params], class[main], class[settings], stage[main]
    it "Should not contain any resources" do
      subject.resources.size.should == 4
    end
  end
end
# Change User Description Committed
#1 16170 perforce_software Move Chronicle files to follow new path scheme for branching.
//guest/perforce_software/chronicle/manifests/modules/apache/spec/classes/params_spec.rb
#1 8972 Matt Attaway Initial add of the Chronicle source code