spec/spec_helper.rb in log2mail-0.0.1.pre3 vs spec/spec_helper.rb in log2mail-0.0.1.pre4
- old
+ new
@@ -97,9 +97,10 @@
# Log2mail.send(:remove_const, 'Logger') if defined?(Log2mail::Logger)
# Log2mail::Logger = spy('Logger')
# stub_const('Log2mail::Logger', spy('Logger') )
$logger = spy('Logger')
Mail::TestMailer.deliveries.clear
+ FactoryGirl.reload
end
end