RSpec Results

 

 

The Temporal mixin
should make Time, Date and DateTime into Temporal objects
should determine the length of time between two Temporal objects
should determine the length of time until a Temporal object
should determine if a temporal object is in the future
should determine the length of time since a Temporal object
should determine if a temporal object is in the past
should determine if one Temporal object is before another
should determine if one Temporal object is after another
The class TimePeriod < ActiveRecord::Base
should be a flux capacitor
should be a Temporal object
should possess all four bitemporal database attributes
should not be valid if either of the two time spans are 0 or less
The TimePeriod.find extensions
should find time_periods in the present
should find time_periods in the past
should find time_periods in the future
should find time_periods occuring at a specific time
should find time_periods occuring within a specific range of time
The TimePeriod comparison helpers
should determine if one time period is before another
should determine if one time period is after another
should calculate the time between time_periods
should determine whether two time_periods overlap
should determine the length of time by which two time_periods overlap
should determine if two time_periods are back-to-back
should determine if a time_period is between two other time_periods
The TimePeriod status helpers
should determine the length of time until a time_period
should determine if a time_period is in the future
should determine the length of time since a time_period ended
should determine if a time_period is in the past
should determine if a time_period has started
should determine how much time has elapsed since an event started
should determine what percentage of time has elapsed since an event started
should determine how much time is remaining until an event ends
should determine what percentage of time is remaining until an event ends
should determine if a time_period has ended
should determine the duration of a time_period
The TimePeriod modification helpers
should shift a time_period into the past or future
The Range overlap helpers
should determine if two ranges do not overlap
should determine if two ranges do overlap
The extensions to the Time class
should determine if two times are approximately equal (tolerance @ 1 second)
should determine if two times are approximately equal (tolerance @ 0.1 seconds)