Sha256: d2467ea7acfbfae67af650dfdf9cb62d1e4466b24a546ddd3652fcb3f6a8dcc5

Contents?: true

Size: 433 Bytes

Versions: 27

Compression:

Stored size: 433 Bytes

Contents

require 'spec_helper'
describe 'apt::params', :type => :class do
  let (:title) { 'my_package' }

  it { should contain_apt__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[apt::params], class[main], class[settings], stage[main]
  it "Should not contain any resources" do
    subject.resources.size.should == 4
  end
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
freighthop-0.6.1 modules/apt/spec/classes/params_spec.rb
freighthop-0.6.0 modules/apt/spec/classes/params_spec.rb
freighthop-0.5.2 modules/apt/spec/classes/params_spec.rb
freighthop-0.5.1 modules/apt/spec/classes/params_spec.rb
freighthop-0.5.0 modules/apt/spec/classes/params_spec.rb
freighthop-0.4.1 modules/apt/spec/classes/params_spec.rb
freighthop-0.4.0 modules/apt/spec/classes/params_spec.rb
freighthop-0.3.3 modules/apt/spec/classes/params_spec.rb
freighthop-0.3.2 modules/apt/spec/classes/params_spec.rb
freighthop-0.3.1 modules/apt/spec/classes/params_spec.rb
freighthop-0.3.0 modules/apt/spec/classes/params_spec.rb
freighthop-0.2.1 modules/apt/spec/classes/params_spec.rb
freighthop-0.2.0 modules/apt/spec/classes/params_spec.rb
freighthop-0.1.0 modules/apt/spec/classes/params_spec.rb
freighthop-0.0.6 modules/apt/spec/classes/params_spec.rb
freighthop-0.0.5 modules/apt/spec/classes/params_spec.rb
freighthop-0.0.4 modules/apt/spec/classes/params_spec.rb
freighthop-0.0.3 modules/apt/spec/classes/params_spec.rb
freighthop-0.0.2 modules/apt/spec/classes/params_spec.rb
freighthop-0.0.1 modules/apt/spec/classes/params_spec.rb