aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-07-21 15:51:31 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-07-21 15:51:31 -0500
commit7f4111185ca6286adbe0ffc1346d416c5fa7dfd3 (patch)
treee3de354e39b5913e532910c2cfc1f90686dcf6bb /test/test_helper.rb
parent0c47740d858cb04c7165bce411584c3b05d155b6 (diff)
downloadrails-7f4111185ca6286adbe0ffc1346d416c5fa7dfd3.tar.gz
rails-7f4111185ca6286adbe0ffc1346d416c5fa7dfd3.tar.bz2
rails-7f4111185ca6286adbe0ffc1346d416c5fa7dfd3.zip
Extract variation value object
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index af379ad35a..e98b6e0afc 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -15,7 +15,6 @@ rescue Errno::ENOENT
{}
end
-
require "active_storage/service/disk_service"
require "tmpdir"
ActiveStorage::Blob.service = ActiveStorage::Service::DiskService.new(root: Dir.mktmpdir("active_storage_tests"))
@@ -24,8 +23,8 @@ ActiveStorage::Service.logger = ActiveSupport::Logger.new(STDOUT)
require "active_storage/verified_key_with_expiration"
ActiveStorage::VerifiedKeyWithExpiration.verifier = ActiveSupport::MessageVerifier.new("Testing")
-require "active_storage/variant"
-ActiveStorage::Variant.verifier = ActiveSupport::MessageVerifier.new("Testing")
+require "active_storage/variation"
+ActiveStorage::Variation.verifier = ActiveSupport::MessageVerifier.new("Testing")
class ActiveSupport::TestCase
private