File: json_test.rb

package info (click to toggle)
rails 2%3A4.1.8-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie-kfreebsd
  • size: 21,580 kB
  • sloc: ruby: 172,699; sql: 43; yacc: 43; sh: 14; makefile: 12
file content (9 lines) | stat: -rw-r--r-- 266 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
require 'abstract_unit'

class JsonTest < ActiveSupport::TestCase
  # See activesupport/test/json/encoding_test.rb for JSON encoding tests

  def test_deprecated_require_to_json_rb
    assert_deprecated { require 'active_support/core_ext/object/to_json' }
  end
end