# File lib/shoulda/action_controller/macros.rb, line 139
139:       def should_set_session(key, &block)
140:         ::ActiveSupport::Deprecation.warn("use: should set_session")
141:         matcher = set_session(key)
142:         matcher = matcher.to(&block) if block
143:         should matcher
144:       end