Sha256: a9ff73f96dcfc561528dda3902b4f438689cae525830f593419582b4f8a237f4
Contents?: true
Size: 439 Bytes
Versions: 18
Compression:
Stored size: 439 Bytes
Contents
RSpec::Matchers.define :validate_booleaness_of do |attribute| match do |model| ValidatorDetector.detect(model, attribute, Riveter::BooleanessValidator) end failure_message do |actual| "expect #{attribute} to validate booleaness of" end failure_message_when_negated do |actual| "expect #{attribute} to not validate booleaness of" end description do "expect #{attribute} to validate booleaness of" end end
Version data entries
18 entries across 18 versions & 1 rubygems