spec/spec_helper.rb in rotp-3.3.1 vs spec/spec_helper.rb in rotp-4.0.0
- old
+ new
@@ -1,8 +1,12 @@
+require 'simplecov'
+SimpleCov.start do
+ add_filter "/spec/"
+end
+
require 'rotp'
require 'timecop'
-require 'simplecov'
RSpec.configure do |config|
config.disable_monkey_patching!
config.raise_errors_for_deprecations!
config.color = true
@@ -11,8 +15,7 @@
config.before do
Timecop.return
end
end
-SimpleCov.start
require_relative '../lib/rotp'