Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #33975 from JuanitoFatas/jf.fix-test-name | Rafael França | 2018-09-25 | 1 | -1/+1 |
|\ | | | | | [CaptureHelperTest] Fix a content_for test description | ||||
| * | Fix a content_for test description | Juanito Fatas | 2018-09-25 | 1 | -1/+1 |
| | | |||||
* | | Change the empty block style to have space inside of the block | Rafael Mendonça França | 2018-09-25 | 1 | -1/+1 |
|/ | |||||
* | Replace `assert !` with `assert_not` | Daniel Colson | 2018-04-19 | 1 | -13/+13 |
| | | | | | This autocorrects the violations after adding a custom cop in 3305c78dcd. | ||||
* | Use assert_predicate and assert_not_predicate | Daniel Colson | 2018-01-25 | 1 | -2/+2 |
| | |||||
* | Use frozen string literal in actionview/ | Kir Shatrov | 2017-07-24 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | "Use assert_nil if expecting nil. This will fail in minitest 6." | Akira Matsuda | 2016-12-25 | 1 | -7/+7 |
| | |||||
* | Add three new rubocop rules | Rafael Mendonça França | 2016-08-16 | 1 | -1/+1 |
| | | | | | | | | Style/SpaceBeforeBlockBraces Style/SpaceInsideBlockBraces Style/SpaceInsideHashLiteralBraces Fix all violations in the repository. | ||||
* | applies new string literal convention in actionview/test | Xavier Noria | 2016-08-06 | 1 | -49/+49 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | html_safe is not supposed to be public API for AV. This change removes usage ↵ | Vipul A M | 2016-01-20 | 1 | -2/+2 |
| | | | | | | of html_safe in favour of raw() in AV helpers. Also changed usage of html_safe to make use of raw() instead so that the intended behaviour is verified with raw() | ||||
* | Use ActiveSupport::SafeBuffer when flushing content_for | Yoong Kang Lim | 2015-05-25 | 1 | -0/+13 |
| | | | | | | | | | | | Previously, when content_for is flushed, the content was replaced directly by a new value in ActionView::OutputFlow#set. The problem is this new value passed to the method may not be an instance of ActiveSupport::SafeBuffer. This change forces the value to be set to a new instance of ActiveSupport::SafeBuffer. | ||||
* | :put_litter_in_its_place: Unused method | Akira Matsuda | 2015-04-25 | 1 | -6/+0 |
| | | | | This method is not in use since 479c7cacd5db58ab7200bc1de58c829a1a643278 | ||||
* | Revert "Re-enable capture'ing non-String values" | Santiago Pastorino | 2014-12-15 | 1 | -2/+2 |
| | | | | This reverts commit c2fe0938d7201d4ce0bb2f25e72bf5f70df128af. | ||||
* | Re-enable capture'ing non-String values | Carsten Zimmermann | 2014-12-14 | 1 | -2/+2 |
| | | | | | | | This has been discussed in #17661 and partially reverts the changes made in 9de83050d3a4b260d4aeb5d09ec4eb64f913ba64 and 986cac73e3c56b3dfa22fd1464f6913e38d32cc3 The test case added to content_for acts as a regression / acceptance test. | ||||
* | Removed CaptureHelper#flush_output_buffer as it is only used in tests. | Ryan Davis | 2014-06-04 | 1 | -23/+0 |
| | | | | reviewed: @tenderlove | ||||
* | Move template tests from actionpack to actionview | Piotr Sarnacki | 2013-06-20 | 1 | -0/+242 |