# File lib/shoulda/action_controller/macros.rb, line 37
37:       def should_set_the_flash_to(val)
38:         if val
39:           matcher = set_the_flash.to(val)
40:           should matcher.description do
41:             assert_accepts matcher, @controller
42:           end
43:         else
44:           warn "[DEPRECATION] should_set_the_flash_to nil is deprecated. " <<
45:                "Use should_not_set_the_flash instead."
46:           should_not_set_the_flash
47:         end
48:       end