Skip to content

Instantly share code, notes, and snippets.

View pcrglennon's full-sized avatar

Peter Glennon pcrglennon

  • Philadelphia, PA
View GitHub Profile
@pcrglennon
pcrglennon / validate_with_matcher.rb
Last active April 10, 2023 06:21 — forked from Bartuz/validate_with_matcher.rb
RSpec matcher for validates_with
# RSpec matcher for validates_with.
# https://gist.github.com/2032846
# Usage:
#
# describe User do
# it { should validate_with CustomValidator }
# end
#
# describe User do
# it do