features/support/env.rb in activeadmin-rb-1.4.0 vs features/support/env.rb in activeadmin-rb-1.5.0

- old
+ new

@@ -53,9 +53,13 @@ require 'capybara/poltergeist' require 'phantomjs/poltergeist' Capybara.javascript_driver = :poltergeist +Capybara.server = :webrick + +Capybara.asset_host = 'http://localhost:3000' + # Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In # order to ease the transition to Capybara we set the default here. If you'd # prefer to use XPath just remove this line and adjust any selectors in your # steps to use the XPath syntax. Capybara.default_selector = :css