Update validate_exclusion_of_matcher.rb
This commit is contained in:
parent
068b0e7afc
commit
0b49b5762f
|
@ -35,7 +35,7 @@ module Shoulda
|
||||||
# include ActiveModel::Model
|
# include ActiveModel::Model
|
||||||
# attr_accessor :supported_os
|
# attr_accessor :supported_os
|
||||||
#
|
#
|
||||||
# validates_exclusion_of :supported_os, in: ['Mac', 'Linux']
|
# validates_exclusion_of :supported_os, in: 5..8
|
||||||
# end
|
# end
|
||||||
#
|
#
|
||||||
# # RSpec
|
# # RSpec
|
||||||
|
|
Loading…
Reference in New Issue