]> source.dussan.org Git - redmine.git/commitdiff
Removed database_cleaner dependency (#15377).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 18 Nov 2013 21:56:26 +0000 (21:56 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Mon, 18 Nov 2013 21:56:26 +0000 (21:56 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12298 e93f8b46-1217-0410-a6f0-8f06a7374b81

Gemfile
test/ui/base.rb

diff --git a/Gemfile b/Gemfile
index 75a67d9272d0a91e7957f98da3b521ea147fcfaf..35567d18dad9e572a7b8333df0c476a95197f661 100644 (file)
--- 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
 
index fc394c09aa4fd8387295d386b22cae7532650042..de5c90d70983dee517b5c12efb3ef7ad113ca164 100644 (file)
@@ -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