features/support/env.rb in daily_weekly_monthly-0.0.2 vs features/support/env.rb in daily_weekly_monthly-0.0.3
- old
+ new
@@ -1,9 +1,15 @@
require "simplecov"
-SimpleCov.start
+SimpleCov.start do
+ coverage_dir "coverage/features"
+end
require "tmpdir"
require "daily_weekly_monthly"
+
+Mail.defaults do
+ delivery_method :test
+end
def backups_dir
@backups_dir ||= Dir.mktmpdir
end