Revision c289176c
Added by Ohad Levy about 14 years ago
- ID c289176c6e4936c79ab0649a421188d9ed2d3bb3
test/unit/operatingsystem_test.rb | ||
---|---|---|
assert operating_system.to_label == "Ubuntu 9.10"
|
||
end
|
||
|
||
test "to_version should print correctly" do
|
||
operating_system = Operatingsystem.new :name => "Ubuntu", :major => "9", :minor => "10"
|
||
assert operating_system.to_version == "9-10"
|
||
end
|
||
|
||
test "fullname should print correctly" do
|
||
operating_system = Operatingsystem.new :name => "Ubuntu", :major => "9", :minor => "10"
|
||
assert operating_system.fullname == "Ubuntu_9-10"
|
||
end
|
||
|
||
test "to_s retrives label" do
|
||
operating_system = Operatingsystem.new :name => "Ubuntu", :major => "9", :minor => "10"
|
||
assert operating_system.to_s == operating_system.to_label
|
Also available in: Unified diff
fixes #237 - installing puppet from epel breaks if base image is not 5.3 or 4.9 release