Added phantomjs as gem to make test suite pass

This commit is contained in:
Dennis Günnewig 2016-01-01 20:36:01 +01:00
parent 5684caeee6
commit b0a4d53963
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'