Sha256: 1055c8b06549deca092b34acfd33d5870beca7570bd5fa82209cc7fa1b0115e6
Contents?: true
Size: 342 Bytes
Versions: 5
Compression:
Stored size: 342 Bytes
Contents
covers 'facets/time/ago' test_case Time do # We do not need to test #in b/c it is an alias for #shift. # One test is provided to add to coverage report. method :in do test do e = Time.utc(2008,11, 1, 18,30,57) r = Time.utc(2007,11, 1, 18,30,57).in(1, :years) r.assert == e end end end
Version data entries
5 entries across 5 versions & 2 rubygems