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:
parent
09bc2609d7
commit
c831a5d854
1 changed files with 2 additions and 2 deletions
|
@ -33,9 +33,9 @@ module Shoulda
|
|||
#
|
||||
# class Game
|
||||
# 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
|
||||
#
|
||||
# # RSpec
|
||||
|
|
Loading…
Reference in a new issue