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 Matchers
module ActiveModel
# @private
module StrictValidator
def allow_description(allowed_values)
"doesn't raise when #{attribute} is set to #{allowed_values}"

View file

@ -1,6 +1,7 @@
module Shoulda
module Matchers
module ActiveModel
# @private
module ValidatorWithCapturedRangeError
def messages_description
' RangeError: ' + captured_range_error.message.inspect