use standard error so its easier to catch

This commit is contained in:
Sam
2015-03-23 12:20:50 +11:00
parent 23513eaf87
commit bb20f64cb2
5 changed files with 6 additions and 6 deletions

View File

@ -24,7 +24,7 @@ module Autospec
require "socket"
class PhantomJsNotInstalled < Exception; end
class PhantomJsNotInstalled < StandardError; end
def initialize
ensure_phantomjs_is_installed