[skip ci] Fix example with wrong attribute name (#1519)

This commit is contained in:
franlocus 2022-11-09 10:16:35 -03:00 committed by GitHub
parent 09bc2609d7
commit c831a5d854
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -33,9 +33,9 @@ module Shoulda
# #
# class Game # class Game
# include ActiveModel::Model # include ActiveModel::Model
# attr_accessor :supported_os # attr_accessor :floors_with_enemies
# #
# validates_exclusion_of :supported_os, in: 5..8 # validates_exclusion_of :floors_with_enemies, in: 5..8
# end # end
# #
# # RSpec # # RSpec