1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

correct typo about deprecated method

This commit is contained in:
Matt Jankowski 2009-03-10 16:06:44 -04:00
parent 971ba40f5c
commit e02228d45a

View file

@ -179,7 +179,7 @@ module Shoulda # :nodoc:
# Deprecated. See should_set_session
def should_return_from_session(key, expected)
warn "[DEPRECATION] should_require_attributes is deprecated. " <<
warn "[DEPRECATION] should_return_from_session is deprecated. " <<
"Use should_set_session instead."
should_set_session(key, expected)
end