[skip ci] Fix example with wrong attribute name (#1519)
This commit is contained in:
parent
09bc2609d7
commit
c831a5d854
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue