lib/jasmine/runners/phantom.rb in phantom_jasmine-0.0.7 vs lib/jasmine/runners/phantom.rb in phantom_jasmine-0.0.8

- old
+ new

@@ -1,17 +1,17 @@ require 'facter' require 'jasmine' require 'tempfile' -require 'phantomjs.rb' +require 'phantomjs' class Jasmine::Runners::Phantom attr_accessor :suites def initialize(port, results_processor, result_batch_size) @port = port @results_processor = results_processor @result_batch_size = result_batch_size - @phantom = Phantomjs.send(:get_executable) + @phantom = Phantomjs.path end def run load_suite_info @results_processor.process(results_hash, suites)