Skip to content

Commit

Permalink
fix inline documentation about is_greater_than in validate_comparison…
Browse files Browse the repository at this point in the history
…_of matcher
  • Loading branch information
jeduardo824 committed Feb 25, 2024
1 parent a078b46 commit 22c25d6
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 22c25d6

Please sign in to comment.