mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Remove these from the docs
This commit is contained in:
parent
eadbdf8ee9
commit
5bba21142b
2 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
module Shoulda
|
||||
module Matchers
|
||||
module ActiveModel
|
||||
# @private
|
||||
module StrictValidator
|
||||
def allow_description(allowed_values)
|
||||
"doesn't raise when #{attribute} is set to #{allowed_values}"
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
module Shoulda
|
||||
module Matchers
|
||||
module ActiveModel
|
||||
# @private
|
||||
module ValidatorWithCapturedRangeError
|
||||
def messages_description
|
||||
' RangeError: ' + captured_range_error.message.inspect
|
||||
|
|
Loading…
Reference in a new issue