ruby on rails 3 - Trouble running Jasmine specs headless -



ruby on rails 3 - Trouble running Jasmine specs headless -

i'm trying jasmine run in command line (headless), have had no success. our current configuration:

gemfile:

gem 'jasmine', :git => "git://github.com/pivotal/jasmine-gem.git" gem 'jasmine-headless-webkit', :git => "git://github.com/johnbintz/jasmine-headless-webkit.git"

my current configuration of jasmine specs runs in browser. rake jasmine:ci, however, opens browser, , aborts shortly thereafter error message:

/users/`<me>`/.rvm/gems/ruby-2.0.0-p353/gems/selenium-webdriver-2.25.0/lib/selenium/webdriver/firefox/launcher.rb:79:in `connect_until_stable': unable obtain stable firefox connection in 60 seconds (127.0.0.1:7055) (selenium::webdriver::error::webdrivererror)

i looked @ github page jasmine-headless-webkit, , saw project listed dead. so! tried replace jasmine & jasmine-headless-webkit gem jasmine-rails, , got error:

error: typeerror: 'undefined' not object (evaluating 'jasmine.matchers.prototype') trace: -> file:///users/<me>/<myapp>/tmp/jasmine/assets/jasmine-specs.js: 711 -> file:///users/<me>/<myapp>/tmp/jasmine/assets/jasmine-specs.js: 736 -> file:///users/<me>/<myapp>/tmp/jasmine/assets/jasmine-specs.js: 738 -> file:///users/<me>/<myapp>/tmp/jasmine/assets/jasmine-specs.js: 862 rake aborted! error executing command: "/users/<me>/.phantomjs/1.9.7/darwin/bin/phantomjs" "/users/<me>/.rvm/gems/ruby-2.0.0-p353/gems/jasmine-rails-0.9.0/lib/jasmine_rails/../assets/javascripts/jasmine-runner.js" "/users/<me>/<myapp>/tmp/jasmine/runner.html?spec="

since users seemed want run jasmine specs using phantom, part of 2.0 release made default. ability run jasmine:ci selenium extracted its own gem.

ruby-on-rails-3 jasmine jasmine-headless-webkit

Comments

Popular posts from this blog

php - Android app custom user registration and login with cookie using facebook sdk -

django - Access session in user model .save() -

php - .htaccess Multiple Rewrite Rules / Prioritizing -