lib/test_support/cucumber/support/values.rb in sniff-0.1.14 vs lib/test_support/cucumber/support/values.rb in sniff-0.1.15
- old
+ new
@@ -3,10 +3,10 @@
require 'chronic'
module CucumberValueParser
def coerce_value(value)
# what is this, PHP?
- if value.nil?
+ if value.blank?
nil
elsif value == 'true'
true
elsif value == 'false'
false