Skip to content

Instantly share code, notes, and snippets.

@elight
Created December 23, 2010 17:59
Show Gist options
  • Save elight/753310 to your computer and use it in GitHub Desktop.
Save elight/753310 to your computer and use it in GitHub Desktop.
Excerpt from my test_helper
class SeleniumTest < ActionController::IntegrationTest
self.use_transactional_fixtures = false
def setup
DatabaseCleaner.clean
Capybara.current_driver = :selenium
super
end
def teardown
Capybara.use_default_driver
super
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment