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