Browse files

Experimenting with poltergeist by @jonleighton but it can't access mu…

…ltiple windows as per teampoltergeist/poltergeist#21
  • Loading branch information...
1 parent 4b23fa5 commit 4bf275006113d3141ddea8320bb9641c9d8ef940 @parndt parndt committed Feb 20, 2012
Showing with 3 additions and 1 deletion.
  1. +1 −0 Gemfile
  2. +2 −1 spec/spec_helper.rb
View
1 Gemfile
@@ -28,6 +28,7 @@ end
group :development, :test do
gem 'refinerycms-testing', '~> 2.0.0'
gem 'generator_spec', '>= 0.8.5'
+ gem 'poltergeist'
platforms :mswin, :mingw do
gem 'win32console'
View
3 spec/spec_helper.rb
@@ -25,7 +25,8 @@ def setup_environment
end
# Set javascript driver for capybara
- Capybara.javascript_driver = :selenium
+ require 'capybara/poltergeist'
+ Capybara.javascript_driver = :poltergeist
end
def each_run

0 comments on commit 4bf2750

Please sign in to comment.