Sha256: c9e469bfe007b1f3e672f1bbedc07fa30df6f476a4363748a49278a547d1f676

Contents?: true

Size: 175 Bytes

Versions: 11

Compression:

Stored size: 175 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

11 entries across 11 versions & 1 rubygems

Version Path
loga-2.2.0 spec/support/timecop_shared.rb
loga-2.1.2 spec/support/timecop_shared.rb
loga-2.1.1 spec/support/timecop_shared.rb
loga-2.0.0 spec/support/timecop_shared.rb
loga-1.4.0 spec/support/timecop_shared.rb
loga-1.3.0 spec/support/timecop_shared.rb
loga-1.2.1 spec/support/timecop_shared.rb
loga-1.1.1 spec/support/timecop_shared.rb
loga-1.1.0 spec/support/timecop_shared.rb
loga-1.0.0 spec/support/timecop_shared.rb
loga-2.1.0 spec/support/timecop_shared.rb