lib/tap/test/env_vars.rb in bahuvrihi-tap-0.10.1 vs lib/tap/test/env_vars.rb in bahuvrihi-tap-0.10.2
- old
+ new
@@ -20,10 +20,10 @@
end
end
# Returns true if the env_var(var) is set and matches /^true$/i
def env_true?(var)
- env(var) && env(var) =~ /^true$/i
+ (env(var) && env(var) =~ /^true$/i) ? true : false
end
end
end
end
\ No newline at end of file