Calendar ESpec v0.1.0 Calendar.ESpec.Assertions.BeTimedBetween View Source

Defines ‘be_timed_between’ assertion.

it do: expect(~N[2017-01-02 10:00:00]).to be_timed_between(~N[2017-01-01 10:00:00], ~N[2017-01-03 10:00:00])

Link to this section Summary

Link to this section Functions

Link to this function assert(subject, data, positive \\ true) View Source
Link to this function assert(subject, data, positive, stacktrace) View Source