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:
parent
971ba40f5c
commit
e02228d45a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue