1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

[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

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