Skip to content

Commit

Permalink
Use akephalos instead of capybara javascript emulation
Browse files Browse the repository at this point in the history
  • Loading branch information
jferris committed Nov 29, 2010
1 parent 32875ae commit 1456039
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion template/suspenders.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 1456039

Please sign in to comment.