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

Put database cleaner back in

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