diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-23 17:35:25 -0500 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2017-07-23 17:35:25 -0500 |
commit | cb2f7d499466acd2a8c9b917262914e46b5bf104 (patch) | |
tree | 12cb23ecf3e1656ace50f3f546c7263d4ac0e361 /test | |
parent | f6ba62be186bd0f570625e25f2f5da838cbc0dc2 (diff) | |
download | rails-cb2f7d499466acd2a8c9b917262914e46b5bf104.tar.gz rails-cb2f7d499466acd2a8c9b917262914e46b5bf104.tar.bz2 rails-cb2f7d499466acd2a8c9b917262914e46b5bf104.zip |
Still need GlobalID for PurgeJob serialization
Diffstat (limited to 'test')
-rw-r--r-- | test/test_helper.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index a6e228c4d2..650e997205 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -62,3 +62,7 @@ end require "active_storage/attached" ActiveRecord::Base.send :extend, ActiveStorage::Attached::Macros + +require "global_id" +GlobalID.app = "ActiveStorageExampleApp" +ActiveRecord::Base.send :include, GlobalID::Identification |