Sha256: c4d369e3e1038d92ceb4322ead98b098ea68b98ce0b3f96977ca486faf470c9f

Contents?: true

Size: 477 Bytes

Versions: 27

Compression:

Stored size: 477 Bytes

Contents

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

  let :param_set do
    { :release_id => 'precise' }
  end

  let (:params) { param_set }

  it { should include_class("apt::params") }

  it {
    should contain_file("/etc/apt/apt.conf.d/01release").with({
      "mode"    => "0644",
      "owner"   => "root",
      "group"   => "root",
      "content" => "APT::Default-Release \"#{param_set[:release_id]}\";"
    })
  }
end

Version data entries

27 entries across 27 versions & 2 rubygems

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