Sha256: ae66cd34a56bc879fc4df0b49bbb392a7dfbf92b2328c434bafa97fa20b49618
Contents?: true
Size: 430 Bytes
Versions: 1
Compression:
Stored size: 430 Bytes
Contents
require_relative '../spec_helper' require_relative '../../lib/kamerling/result' module Kamerling describe Result do describe '#received_at' do it 'defaults to the current time' do assert Result.new.received_at.between?(Time.now - 1, Time.now + 1) end it 'defaults to the time of Result’s creation' do Result.new.received_at.wont_equal Result.new.received_at end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kamerling-0.0.3 | spec/kamerling/result_spec.rb |