Sha256: 27acef674f834d5740b0372c9fa27241719a1c72222aaf7f2020eb857f97071c

Contents?: true

Size: 468 Bytes

Versions: 36

Compression:

Stored size: 468 Bytes

Contents

require 'spec_helper'

describe Puppet::Type.type(:selmodule), "when validating attributes" do
  [:name, :selmoduledir, :selmodulepath].each do |param|
    it "should have a #{param} parameter" do
      expect(Puppet::Type.type(:selmodule).attrtype(param)).to eq(:param)
    end
  end

  [:ensure, :syncversion].each do |param|
    it "should have a #{param} property" do
      expect(Puppet::Type.type(:selmodule).attrtype(param)).to eq(:property)
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
puppet-5.5.22 spec/unit/type/selmodule_spec.rb
puppet-5.5.22-x86-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.22-x64-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.22-universal-darwin spec/unit/type/selmodule_spec.rb
puppet-5.5.21 spec/unit/type/selmodule_spec.rb
puppet-5.5.21-x86-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.21-x64-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.21-universal-darwin spec/unit/type/selmodule_spec.rb
puppet-5.5.20 spec/unit/type/selmodule_spec.rb
puppet-5.5.20-x86-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.20-x64-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.20-universal-darwin spec/unit/type/selmodule_spec.rb
puppet-5.5.19 spec/unit/type/selmodule_spec.rb
puppet-5.5.19-x86-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.19-x64-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.19-universal-darwin spec/unit/type/selmodule_spec.rb
puppet-5.5.18 spec/unit/type/selmodule_spec.rb
puppet-5.5.18-x86-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.18-x64-mingw32 spec/unit/type/selmodule_spec.rb
puppet-5.5.18-universal-darwin spec/unit/type/selmodule_spec.rb