diff --git a/Gemfile b/Gemfile index 75a67d927..35567d18d 100644 --- a/Gemfile +++ b/Gemfile @@ -81,7 +81,6 @@ group :test do if RUBY_VERSION >= '1.9.3' gem "capybara", "~> 2.1.0" gem "selenium-webdriver" - gem "database_cleaner" end end diff --git a/test/ui/base.rb b/test/ui/base.rb index fc394c09a..de5c90d70 100644 --- a/test/ui/base.rb +++ b/test/ui/base.rb @@ -36,8 +36,6 @@ end # default: 2 Capybara.default_wait_time = 2 -DatabaseCleaner.strategy = :truncation - module Redmine module UiTest # Base class for UI tests @@ -65,7 +63,6 @@ module Redmine teardown do Capybara.reset_sessions! # Forget the (simulated) browser state Capybara.use_default_driver # Revert Capybara.current_driver to Capybara.default_driver - DatabaseCleaner.clean end end end