You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.
I've installed this jasmine-rails gems for rails in windows. If I define a route for the runner - as defined in the readme - and go to http://localhost:3000/specs I can see the jasmine test output with no problem.
But when I try to run it from the command line with rake spec:javascript I got the following error from phantomjs
Running `phantomjs "c:/ruby193/lib/ruby/gems/1.9.1/gems/jasmine-rails-0.4.8/lib/jasmine_rails/../assets/javascripts/jasmine-runner.js" "file://c:/Dev/app/spec/tmp/runner.html?spec="`
Running: file://c:/Dev/app/spec/tmp/runner.html?spec=
can't load the address!
The problem here is the second argument passed to phantomjs which has file:// at the beginning.
If I go to the source code of the gem and remove that bit it works.
I don't know exactly if this is a problem with phantomjs, my enviroment or this gem.
Any idea?
Thanks in advance!
Asier
The text was updated successfully, but these errors were encountered:
Hi,
Apologies if this has been tackled already.
I've installed this jasmine-rails gems for rails in windows. If I define a route for the runner - as defined in the readme - and go to http://localhost:3000/specs I can see the jasmine test output with no problem.
But when I try to run it from the command line with rake spec:javascript I got the following error from phantomjs
The problem here is the second argument passed to phantomjs which has file:// at the beginning.
If I go to the source code of the gem and remove that bit it works.
I don't know exactly if this is a problem with phantomjs, my enviroment or this gem.
Any idea?
Thanks in advance!
Asier
The text was updated successfully, but these errors were encountered: