Skip to content
Snippets Groups Projects
Commit d3d01821 authored by Raphael's avatar Raphael
Browse files

Put database cleaner back in

parent d98ac701
Branches
Tags
No related merge requests found
......@@ -26,14 +26,12 @@ RSpec.configure do |config|
DatabaseCleaner.orm = "mongo_mapper"
config.before(:suite) do
DatabaseCleaner.clean_with(:truncation)
DatabaseCleaner.clean
stub_signature_verification
end
config.before(:each) do
stub_sockets
User.stub!(:allowed_email?).and_return(:true)
DatabaseCleaner.clean
end
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment