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 Shoulda
|
||||||
module Matchers
|
module Matchers
|
||||||
module ActiveModel
|
module ActiveModel
|
||||||
|
# @private
|
||||||
module StrictValidator
|
module StrictValidator
|
||||||
def allow_description(allowed_values)
|
def allow_description(allowed_values)
|
||||||
"doesn't raise when #{attribute} is set to #{allowed_values}"
|
"doesn't raise when #{attribute} is set to #{allowed_values}"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
module Shoulda
|
module Shoulda
|
||||||
module Matchers
|
module Matchers
|
||||||
module ActiveModel
|
module ActiveModel
|
||||||
|
# @private
|
||||||
module ValidatorWithCapturedRangeError
|
module ValidatorWithCapturedRangeError
|
||||||
def messages_description
|
def messages_description
|
||||||
' RangeError: ' + captured_range_error.message.inspect
|
' RangeError: ' + captured_range_error.message.inspect
|
||||||
|
|
Loading…
Add table
Reference in a new issue