1
0
Fork 0
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:
Elliot Winkler 2015-01-22 21:24:05 -07:00
parent eadbdf8ee9
commit 5bba21142b
2 changed files with 2 additions and 0 deletions

View file

@ -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}"

View file

@ -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