Skip to content
Browse files

Fixed test failures on 1.8.7 caused by 74e59ea

  • Loading branch information...
1 parent df37c91 commit dee5915aac009b6b6456a81ae7b8927866d0c240 @fredwu fredwu committed Mar 27, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 actionpack/lib/action_controller/test_case.rb
View
2 actionpack/lib/action_controller/test_case.rb
@@ -110,7 +110,7 @@ def assert_template(options = {}, message = nil)
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

0 comments on commit dee5915

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