Skip to content
This repository
Browse code

Fixed test failures on 1.8.7 caused by 74e59ea

  • Loading branch information...
commit dee5915aac009b6b6456a81ae7b8927866d0c240 1 parent df37c91
Fred Wu fredwu authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  actionpack/lib/action_controller/test_case.rb
2  actionpack/lib/action_controller/test_case.rb
@@ -110,7 +110,7 @@ def assert_template(options = {}, message = nil)
110 110
111 111 case expected_layout
112 112 when String, Symbol
113   - assert_includes @layouts.keys, expected_layout.to_s, msg
  113 + assert(@layouts.keys.include?(expected_layout.to_s), msg)
114 114 when Regexp
115 115 assert(@layouts.keys.any? {|l| l =~ expected_layout }, msg)
116 116 when nil, false

0 comments on commit dee5915

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