Skip to content

Commit e55d59a

Browse files
committed
Use a different module
MessageEncryptor loads `json` and we want a test that doesn't do that.
1 parent 28997e4 commit e55d59a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activesupport/test/json/encoding_test_cases.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module EncodingTestCases
9595
ModuleTests = [[ Module, %("Module") ],
9696
[ Class, %("Class") ],
9797
[ ActiveSupport, %("ActiveSupport") ],
98-
[ ActiveSupport::MessageEncryptor, %("ActiveSupport::MessageEncryptor") ]]
98+
[ ActiveSupport::Testing, %("ActiveSupport::Testing") ]]
9999
ObjectTests = [[ Foo.new(1, 2), %({\"a\":1,\"b\":2}) ]]
100100
HashlikeTests = [[ Hashlike.new, %({\"bar\":\"world\",\"foo\":\"hello\"}) ]]
101101
StructTests = [[ MyStruct.new(:foo, "bar"), %({\"name\":\"foo\",\"value\":\"bar\"}) ],

0 commit comments

Comments
 (0)