Sha256: 54f41242bac24c9a368e4f6db63796041157f9e214832c390698adc10b001b29
Contents?: true
Size: 429 Bytes
Versions: 38
Compression:
Stored size: 429 Bytes
Contents
RSpec::Matchers.define :be_a_multiple_of do |expected| match do |actual| actual % expected == 0 end failure_message_for_should do |actual| "expected that #{actual} would be a precise multiple of #{expected}" end failure_message_for_should_not do |actual| "expected that #{actual} would not be a precise multiple of #{expected}" end description do "be a precise multiple of #{expected}" end end
Version data entries
38 entries across 38 versions & 2 rubygems