lib/test_support/cucumber/support/values.rb in sniff-0.11.4 vs lib/test_support/cucumber/support/values.rb in sniff-0.11.5
- old
+ new
@@ -13,9 +13,11 @@
false
elsif value =~ /\d+.*,.*\d/
value
elsif value =~ /\d+\.\d+/
value.to_f
+ elsif value =~ /^0+$/
+ 0
elsif value =~ /^0/
value
elsif value =~ /^\d+$/
value.to_i
elsif value =~ /Address:/