Skip to content

Commit

Permalink
Spec helper: remove DataBase cleaner for the time being as it is mess…
Browse files Browse the repository at this point in the history
…ing with our CI
  • Loading branch information
Daniel Martin committed Jul 18, 2012
1 parent 68359f3 commit 30b8214
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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.