spec/support/timecop.rb in multi_sync-0.0.2 vs spec/support/timecop.rb in multi_sync-0.0.3
- old
+ new
@@ -1,2 +1,8 @@
require 'timecop'
-Timecop.freeze
+RSpec.configure do |config|
+ config.around do |ex|
+ Timecop.freeze do
+ ex.run
+ end
+ end
+end