spec/spec_helper.rb in rotp-2.0.0 vs spec/spec_helper.rb in rotp-2.1.0
- old
+ new
@@ -1,11 +1,13 @@
-require 'rubygems'
-require 'bundler/setup'
+require 'rotp'
require 'timecop'
-require 'rspec'
-require 'rspec/autorun'
-require 'rotp'
-
RSpec.configure do |config|
- # some (optional) config here
+ config.disable_monkey_patching!
+ config.raise_errors_for_deprecations!
+ config.color = true
+ config.fail_fast = true
+
+ config.before do
+ Timecop.return
+ end
end