Sha256: 6cfd9aee83a88a2fdca91bf404aa726d7bf95d19dc382a8422600e4a9e7cb5d4
Contents?: true
Size: 249 Bytes
Versions: 12
Compression:
Stored size: 249 Bytes
Contents
RSpec::Matchers.define :be_datey do |_expected| match do |actual| actual.instance_of?(DateTime) || actual.instance_of?(Time) end failure_message do |actual| "expected #{actual.inspect} to be an instance of DateTime or Time" end end
Version data entries
12 entries across 12 versions & 1 rubygems