title: Cucumber - Database cleaner is not working when default driver(selenium) is enabled
body: <p>I am using cucumber + capybara for my tests.The database cleaner is working good, but when I change the Capybara.default_driver to selenium, database cleaner is not working. Below is my env.rb file.</p>
  
  <pre><code>Capybara.default_selector = :css
  Capybara.default_driver = :selenium
  Capybara.javascript_driver = :selenium
  ActionController::Base.allow_rescue = false
  Cucumber::Rails::World.use_transactional_fixtures = true
  
  if defined?(ActiveRecord::Base)
    begin
      require 'database_cleaner'
      DatabaseCleaner.strategy = :truncation
    rescue LoadError =&gt; ignore_if_database_cleaner_not_present
    end
  end
  
  OmniAuth.config.test_mode = true
  </code></pre>