http://railscasts.com/episodes/391-testing-javascript-with-phantomjs
Requires Ruby 1.9.2 or higher.
brew install phantomjs
phantomjs try_phantom.coffee
rake spec
rspec . --tag '~js'
| Name | Name | Last commit date | ||
|---|---|---|---|---|
http://railscasts.com/episodes/391-testing-javascript-with-phantomjs
Requires Ruby 1.9.2 or higher.
brew install phantomjs
phantomjs try_phantom.coffee
rake spec
rspec . --tag '~js'