summaryrefslogtreecommitdiffstats
path: root/spec/unit/property/ensure_spec.rb
blob: aa31abbdc3dc6b84cd8ad4de38a1ba4931018439 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/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") }

require 'puppet/property/ensure'

klass = Puppet::Property::Ensure

describe klass do
    it "should be a subclass of Property" do
        klass.superclass.must == Puppet::Property
    end
end