Sha256: 35f5f2b0e4d88dbd82e17946fa8f5b7e465b0bd3608b8314853e1c21a0e2b1a0

Contents?: true

Size: 176 Bytes

Versions: 12

Compression:

Stored size: 176 Bytes

Contents

require 'timecop'

shared_context 'timecop', timecop: true do
  # Allows fixed timestamps
  before(:all) { Timecop.freeze(time_anchor) }

  after(:all)  { Timecop.return }
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
loga-2.8.0 spec/support/timecop_shared.rb
loga-2.7.0 spec/support/timecop_shared.rb
loga-2.6.1 spec/support/timecop_shared.rb
loga-2.6.0 spec/support/timecop_shared.rb
loga-2.5.4 spec/support/timecop_shared.rb
loga-2.5.3 spec/support/timecop_shared.rb
loga-2.5.2 spec/support/timecop_shared.rb
loga-2.5.1 spec/support/timecop_shared.rb
loga-2.5.0 spec/support/timecop_shared.rb
loga-2.4.0 spec/support/timecop_shared.rb
loga-2.3.1 spec/support/timecop_shared.rb
loga-2.3.0 spec/support/timecop_shared.rb