mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
abbf00e583
When the Pathname object is converted as JSON, it should be a string that means itself. Expected: ``` >> Pathname.new('/path/to/somewhere.txt').as_json "/path/to/somewhere.txt" ``` Actual: ``` >> Pathname.new('/path/to/somewhere.txt').as_json {"path"=>"/path/to/somewhere.txt"} ``` |
||
---|---|---|
.. | ||
decoding_test.rb | ||
encoding_test.rb | ||
encoding_test_cases.rb |