jejacks0n / teaspoon

Teaspoon: Javascript test runner for Rails. Use Selenium, BrowserStack, or PhantomJS.
1.43k stars 243 forks source link

Skip to raise ::DependencyError in phantomjs#run #439

Closed speed-of-light closed 8 years ago

speed-of-light commented 8 years ago

if given block returns nil, $?.success will produce

  undefined method `success?' for nil:NilClass (NoMethodError)

given command:

teaspoon -C default
mikepack commented 8 years ago

Under what cases will $? be nil? Can you explain how to reproduce this, or write a spec? Are you missing a phantomjs binary?