Akira Matsuda
5349d4ee08
⚠️ "Use assert_nil if expecting nil. This will fail in MT6."
...
These are followups for 307065f959
,
but TBH I'm personally not very much confortable with this style.
Maybe we could override assert_equal in our test_helper not to warn?
2017-01-18 17:30:46 +09:00
Xavier Noria
4b6c68dfb8
applies new string literal convention in actionview/test
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:50:17 +02:00
Erik Michaels-Ober
d1374f99bf
Pass symbol as an argument instead of a block
2014-11-29 11:53:24 +01:00
John F. Douthat
41de23ec03
Fix escape_once double-escaping hex-encoded entities
...
(This is a manual merge of #9102 )
2014-07-02 15:54:47 -07:00
Godfrey Chan
2c564cdbdb
Added \u2028 \u2029 to json_escape
2013-12-04 09:43:42 -08:00
Godfrey Chan
c229c7a39c
Use lower case letters in unicodes sequences to match the new encoder's output
2013-12-04 09:27:55 -08:00
Godfrey Chan
039f9b37b9
Added failing test for json_escape striping quotation marks
...
Expanded test coverage for html_escape and json_escape
2013-12-04 09:26:14 -08:00
Akira Matsuda
499b602c8e
Minor typo fixes
2013-11-27 02:27:38 +09:00
Piotr Sarnacki
eb23754ebb
Move template tests from actionpack to actionview
2013-06-20 17:23:16 +02:00