Revision f4459c11
Added by David Davis about 8 years ago
test/unit/version_test.rb | ||
---|---|---|
v = Foreman::Version.new "1.0-develop"
|
||
assert_equal "1", v.major
|
||
assert_equal "0", v.minor
|
||
assert v.build.nil?
|
||
assert v.build.nil?
|
||
assert_equal "1.0", v.short
|
||
assert_equal "develop", v.tag
|
||
assert_equal "1.0", v.notag
|
Also available in: Unified diff
Refs #3809 - Turning on some rubocop cops