• P
    Fix bug in assert_template when using only `:layout` option · 0460b3a4
    Prem Sichanugrist 提交于
    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 [d9375f3f].
    
    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.
    0460b3a4
action_pack_assertions_test.rb 14.2 KB