From 22c25d66e4e70ab1b8913c717c3958cd941835aa Mon Sep 17 00:00:00 2001 From: Eduardo Alencar Date: Sun, 25 Feb 2024 10:46:46 -0300 Subject: [PATCH] fix inline documentation about is_greater_than in validate_comparison_of matcher --- .../matchers/active_model/validate_comparison_of_matcher.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/shoulda/matchers/active_model/validate_comparison_of_matcher.rb b/lib/shoulda/matchers/active_model/validate_comparison_of_matcher.rb index 47a673f3a..6d54db019 100644 --- a/lib/shoulda/matchers/active_model/validate_comparison_of_matcher.rb +++ b/lib/shoulda/matchers/active_model/validate_comparison_of_matcher.rb @@ -13,12 +13,12 @@ module ActiveModel # # # RSpec # RSpec.describe Person, type: :model do - # it { should validate_comparison_of(:gpa).greater_than(10) } + # it { should validate_comparison_of(:gpa).is_greater_than(10) } # end # # # Minitest (Shoulda) # class PersonTest < ActiveSupport::TestCase - # should validate_comparison_of(:gpa).greater_than(10) + # should validate_comparison_of(:gpa).is_greater_than(10) # end # # #### Qualifiers