diff --git a/Gemfile b/Gemfile index 18832cec..b446cdcd 100644 --- a/Gemfile +++ b/Gemfile @@ -28,6 +28,7 @@ gem 'rubydns', '~> 1.0.1', require: false # To test javascript 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 gem 'therubyrhino', '>= 2.0', platforms: :jruby diff --git a/middleman-core/features/support/env.rb b/middleman-core/features/support/env.rb index 29799086..77cfbb06 100644 --- a/middleman-core/features/support/env.rb +++ b/middleman-core/features/support/env.rb @@ -5,7 +5,7 @@ require 'sassc' require 'simplecov' SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/../..')) -require 'capybara/poltergeist' +require 'phantomjs/poltergeist' Capybara.javascript_driver = :poltergeist require 'coveralls'