Please sign in to comment.
Fix bug in assert_template when using only `:layout` option
Currently if you're do this: assert_template :layout => "foo" Regardless of what layout you were using, the test will always pass. This was broken since the introduction of :layout option in [d9375f3]. We have a lot of test cases in actionpack/test/controller/layout_test.rb that use this feature. This will make sure that those test cases are not true negative.
- Loading branch information...
Showing with 32 additions and 14 deletions.