Permalink
Browse files

Use akephalos instead of capybara javascript emulation

  • Loading branch information...
1 parent 32875ae commit 14560395d80ec4010789961aa7c54682f2e7ee4a @jferris jferris committed Nov 29, 2010
Showing with 5 additions and 1 deletion.
  1. +5 −1 template/suspenders.rb
View
@@ -119,8 +119,12 @@ def trout(destination_path)
replace_in_file "spec/spec_helper.rb", "mock_with :rspec", "mock_with :mocha"
inject_into_file "features/support/env.rb",
- %{Capybara.save_and_open_page_path = 'tmp'\n},
+ %{Capybara.save_and_open_page_path = 'tmp'\n} +
+ %{Capybara.javascript_driver = :akephalos\n},
:before => %{Capybara.default_selector = :css}
+replace_in_file "features/support/env.rb",
+ %r{require .*capybara_javascript_emulation.*},
+ ''
rake "flutie:install"

0 comments on commit 1456039

Please sign in to comment.