Sha256: 73dfff3c43ecc3828d542fbeea6ad25ad25310148a063e54cea8b05b80f87f0f
Contents?: true
Size: 229 Bytes
Versions: 1
Compression:
Stored size: 229 Bytes
Contents
RSpec.configure do |config| config.before(:all, :time_mock => true) do require 'timecop' Timecop.freeze(Time.utc(2012, 7, 26, 18, 0, 0)) end config.after(:each, :time_mock => true) do Timecop.return end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspectacular-0.9.1 | lib/rspectacular/plugins/timecop.rb |