• Avielle Wolfe's avatar
    Make test duration more stable · c7fdcbb9
    Avielle Wolfe authored
    Using `2.hours.ago - 1.hour.ago` gives a value that is slightly off from
    3600 seconds (and also is a negative number - not a duration). `1.hour`
    is more stable and simple to understand
    c7fdcbb9
command_spec.rb 9.27 KB