1. 17 12月, 2014 1 次提交
    • J
      Test to ensure content_tag works when fixing #17661 · 2038c2c5
      Jon Atack 提交于
      After c2fe0938, which was reverted yesterday, there will likely be
      future PRs to address #17661.
      
      The test `actionview/test/template/capture_helper_test.rb
      #test_capture_returns_nil_if_the_returned_value_is_not_a_string` should
      have errored with c2fe0938, but it was rewritten in the PR to not raise.
      My guess is that it may have seemed irrelevant to the content_tag tests
      or already covered by them.
      
      This test provides additional protection by being in the content_tag
      test suite to explicitly raise a red flag in future cases. It foregoes
      some redundancy for safety — at least until #17661 is closed.
      2038c2c5
  2. 16 12月, 2014 39 次提交