Closed speed-of-light closed 8 years ago
if given block returns nil, $?.success will produce
undefined method `success?' for nil:NilClass (NoMethodError)
given command:
teaspoon -C default
Under what cases will $? be nil? Can you explain how to reproduce this, or write a spec? Are you missing a phantomjs binary?
$?
if given block returns nil, $?.success will produce
given command: