aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib
diff options
context:
space:
mode:
authorFred Wu <ifredwu@gmail.com>2013-03-27 11:29:37 +1100
committerFred Wu <ifredwu@gmail.com>2013-03-27 11:29:37 +1100
commitdee5915aac009b6b6456a81ae7b8927866d0c240 (patch)
treec729412e462367179ced0c7fd2e6b92eee9d6e41 /actionpack/lib
parentdf37c91745a3fb241fafa23c03387e33eb82c74f (diff)
downloadrails-dee5915aac009b6b6456a81ae7b8927866d0c240.tar.gz
rails-dee5915aac009b6b6456a81ae7b8927866d0c240.tar.bz2
rails-dee5915aac009b6b6456a81ae7b8927866d0c240.zip
Fixed test failures on 1.8.7 caused by 74e59ea
Diffstat (limited to 'actionpack/lib')
-rw-r--r--actionpack/lib/action_controller/test_case.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/lib/action_controller/test_case.rb b/actionpack/lib/action_controller/test_case.rb
index cd9848d65b..dc58166f78 100644
--- a/actionpack/lib/action_controller/test_case.rb
+++ b/actionpack/lib/action_controller/test_case.rb
@@ -110,7 +110,7 @@ module ActionController
case expected_layout
when String, Symbol
- assert_includes @layouts.keys, expected_layout.to_s, msg
+ assert(@layouts.keys.include?(expected_layout.to_s), msg)
when Regexp
assert(@layouts.keys.any? {|l| l =~ expected_layout }, msg)
when nil, false