Sha256: 91ded2e964624b5a74fe88fd82f7bbd1e2d74dcbc6a355a3b350bd358df2b11d

Contents?: true

Size: 640 Bytes

Versions: 9

Compression:

Stored size: 640 Bytes

Contents

#!/usr/bin/env ruby

Dir.chdir(File.dirname(__FILE__)) { (s = lambda { |f| File.exist?(f) ? require(f) : Dir.chdir("..") { s.call(f) } }).call("spec/spec_helper.rb") }

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

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

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
puppet-0.25.5 spec/unit/type/selmodule.rb
puppet-0.25.4 spec/unit/type/selmodule.rb
puppet-0.25.3 spec/unit/type/selmodule.rb
puppet-0.24.9 spec/unit/type/selmodule.rb
puppet-0.25.2 spec/unit/type/selmodule.rb
puppet-0.25.1 spec/unit/type/selmodule.rb
puppet-0.25.0 spec/unit/type/selmodule.rb
puppet-0.24.7 spec/unit/type/selmodule.rb
puppet-0.24.8 spec/unit/type/selmodule.rb