Revision ec800d08
Added by Sam Kottler almost 12 years ago
- ID ec800d08e5b8700acaa56ee3bfe675307bd42bb6
test/unit/hostgroup_test.rb | ||
---|---|---|
assert_equal "2", third.parameters["secondA"]
|
||
end
|
||
|
||
test "should inheirt parent classes" do
|
||
test "should inherit parent classes" do
|
||
assert (top = Hostgroup.create(:name => "topA", "puppetclass_ids"=>[Puppetclass.first.id]))
|
||
assert (second = Hostgroup.create(:name => "secondB", :parent_id => top.id, "puppetclass_ids"=>[Puppetclass.last.id]))
|
||
|
Also available in: Unified diff
Fixed tiny typo in the hostgroup unit test