Permalink
Browse files

Spec helper: remove DataBase cleaner for the time being as it is mess…

…ing with our CI
  • Loading branch information...
1 parent 68359f3 commit 30b82144644ffc7f2fccb7741fe9f663b788f685 Daniel Martin committed Jul 18, 2012
Showing with 1 addition and 14 deletions.
  1. +1 −14 spec/spec_helper.rb
View
@@ -26,18 +26,5 @@
# If you're not using ActiveRecord, or you'd prefer not to run each of your
# examples within a transaction, remove the following line or assign false
# instead of true.
- config.use_transactional_fixtures = false
-
- config.before(:suite) do
- DatabaseCleaner.strategy = :transaction
- DatabaseCleaner.clean_with(:truncation)
- end
-
- config.before(:each) do
- DatabaseCleaner.start
- end
-
- config.after(:each) do
- DatabaseCleaner.clean
- end
+ config.use_transactional_fixtures = true
end

0 comments on commit 30b8214

Please sign in to comment.