mirror of https://github.com/rails/rails
Use a different module
MessageEncryptor loads `json` and we want a test that doesn't do that.
This commit is contained in:
parent
28997e4cda
commit
e55d59a232
|
@ -95,7 +95,7 @@ module JSONTest
|
|||
ModuleTests = [[ Module, %("Module") ],
|
||||
[ Class, %("Class") ],
|
||||
[ ActiveSupport, %("ActiveSupport") ],
|
||||
[ ActiveSupport::MessageEncryptor, %("ActiveSupport::MessageEncryptor") ]]
|
||||
[ ActiveSupport::Testing, %("ActiveSupport::Testing") ]]
|
||||
ObjectTests = [[ Foo.new(1, 2), %({\"a\":1,\"b\":2}) ]]
|
||||
HashlikeTests = [[ Hashlike.new, %({\"bar\":\"world\",\"foo\":\"hello\"}) ]]
|
||||
StructTests = [[ MyStruct.new(:foo, "bar"), %({\"name\":\"foo\",\"value\":\"bar\"}) ],
|
||||
|
|
Loading…
Reference in New Issue