Project

General

Profile

« Previous | Next » 

Revision 1704e000

Added by Florian Koch over 12 years ago

  • ID 1704e000a517c327f26ffd728cbc7ca273ad7593

fixes #1313 ensure all host names are lowercased

Signed-off-by: Florian Koch <>

View differences:

test/unit/host_test.rb
assert_equal ["#{pc} does not belong to the #{h.environment} environment"], h.errors[:puppetclasses]
end
test "name should be lowercase" do
h = hosts(:redhat)
assert h.valid?
h.name.upcase!
assert !h.valid?
end
end

Also available in: Unified diff