lib/calabash-cucumber/version.rb in calabash-cucumber-0.10.0.pre5 vs lib/calabash-cucumber/version.rb in calabash-cucumber-0.10.0.pre8
- old
+ new
@@ -3,11 +3,11 @@
module Calabash
module Cucumber
# @!visibility public
# The Calabash iOS gem version.
- VERSION = '0.10.0.pre5'
+ VERSION = '0.10.0.pre8'
# @!visibility public
# The minimum required version of the calabash.framework or, for Xamarin
# users, the Calabash component.
MIN_SERVER_VERSION = '0.10.0.pre5'
@@ -206,10 +206,11 @@
assert_equal(169, a.patch)
assert_nil(a.pre)
assert_nil(a.pre_version)
end
+ # @!visibility private
def test_new_passed_invalid_arg
assert_raise(ArgumentError) { Version.new(' ') }
assert_raise(ArgumentError) { Version.new('5.1.pre3') }
assert_raise(ArgumentError) { Version.new('5.pre2') }
@@ -319,10 +320,11 @@
assert(a >= b)
b = Version.new('0.9.169')
assert(a >= b)
end
+ # @!visibility private
def test_compare_missing_patch_level
a = Version.new('6.0')
b = Version.new('5.1.1')
assert(Version.compare(a, b) == 1)
assert(a > b)
@@ -331,9 +333,10 @@
b = Version.new('6.0')
assert(Version.compare(a, b) == -1)
assert(a < b)
end
+ # @!visibility private
def test_compare_missing_minor_level
a = Version.new('5.1')
b = Version.new('5.1.1')
assert(Version.compare(a, b) == -1)
assert(a < b)