Skip to content
Browse files

removing deprecation warning

  • Loading branch information...
1 parent 95e5248 commit ec4e5ce54d915e1d93c75925c74eb4218444a0d5 @jasondew committed Jun 12, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/shoulda/action_controller/matchers/set_the_flash_matcher.rb
View
2 lib/shoulda/action_controller/matchers/set_the_flash_matcher.rb
@@ -60,7 +60,7 @@ def regexp_value_matches?
end
def flash
- @controller.response.session['flash']
+ @controller.request.session['flash']
end
def expectation

0 comments on commit ec4e5ce

Please sign in to comment.
Something went wrong with that request. Please try again.