spec/support/timecop_shared.rb in loga-2.8.0 vs spec/support/timecop_shared.rb in loga-2.8.1
- old
+ new
@@ -1,7 +1,9 @@
+# frozen_string_literal: true
+
require 'timecop'
-shared_context 'timecop', timecop: true do
+shared_context 'timecop', :timecop do
# Allows fixed timestamps
before(:all) { Timecop.freeze(time_anchor) }
after(:all) { Timecop.return }
end