spec/spec_helper.rb in cachew-0.1.1 vs spec/spec_helper.rb in cachew-0.2.0
- old
+ new
@@ -1,23 +1,20 @@
require "simplecov"
require "coveralls"
+require "timecop"
-
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
-
SimpleCov.start do
add_filter "/spec/"
end
+Timecop.safe_mode = true
require "cachew"
-
RSpec.configure do |config|
- config.expect_with :rspec do |c|
- c.syntax = :expect
- end
+ config.disable_monkey_patching!
end