diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-18 21:56:26 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-11-18 21:56:26 +0000 |
commit | bc0ec54afa72c8b74308298a063cc53f30e841b2 (patch) | |
tree | 862ed78050cb8975fc7082c132f6241de2161cc1 | |
parent | 8c3da81a1aa52a66661d34e741026567ea3267f8 (diff) | |
download | redmine-bc0ec54afa72c8b74308298a063cc53f30e841b2.tar.gz redmine-bc0ec54afa72c8b74308298a063cc53f30e841b2.zip |
Removed database_cleaner dependency (#15377).
git-svn-id: http://svn.redmine.org/redmine/trunk@12298 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | Gemfile | 1 | ||||
-rw-r--r-- | test/ui/base.rb | 3 |
2 files changed, 0 insertions, 4 deletions
@@ -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 |