Merge pull request #1725 from maxmeyer/feature/phantomjs

Added phantomjs as gem to make test suite pass
This commit is contained in:
Thomas Reynolds 2016-01-05 10:34:46 -08:00
commit bfb6a7fa16
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@ gem 'rubydns', '~> 1.0.1', require: false
# To test javascript # To test javascript
gem 'poltergeist', '~> 1.8', require: false gem 'poltergeist', '~> 1.8', require: false
gem 'phantomjs', '~> 1.9.8.0', require: false
# For less, note there is no compatible JS runtime for windows # For less, note there is no compatible JS runtime for windows
gem 'therubyrhino', '>= 2.0', platforms: :jruby gem 'therubyrhino', '>= 2.0', platforms: :jruby

View file

@ -5,7 +5,7 @@ require 'sassc'
require 'simplecov' require 'simplecov'
SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..')) SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..'))
require 'capybara/poltergeist' require 'phantomjs/poltergeist'
Capybara.javascript_driver = :poltergeist Capybara.javascript_driver = :poltergeist
require 'coveralls' require 'coveralls'