aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_helper.rb
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2017-07-06 12:22:44 +0200
committerDavid Heinemeier Hansson <david@loudthinking.com>2017-07-06 12:22:44 +0200
commit35d5bddabcd8f0eccc7de3ddf60431ea196508a1 (patch)
treeae57c818c471e2d1c0fe322f5d8448df039bfb63 /test/test_helper.rb
parentb3a9f3556dedb80cfa6336e6241d933baeb4f906 (diff)
downloadrails-35d5bddabcd8f0eccc7de3ddf60431ea196508a1.tar.gz
rails-35d5bddabcd8f0eccc7de3ddf60431ea196508a1.tar.bz2
rails-35d5bddabcd8f0eccc7de3ddf60431ea196508a1.zip
Rename from Site to Service now that we're called Active Storage
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r--test/test_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb
index f354a995e4..dcabe33c18 100644
--- a/test/test_helper.rb
+++ b/test/test_helper.rb
@@ -6,8 +6,8 @@ require "byebug"
require "active_storage"
-require "active_storage/site"
-ActiveStorage::Blob.site = ActiveStorage::Site.configure(:Disk, root: File.join(Dir.tmpdir, "active_storage"))
+require "active_storage/service"
+ActiveStorage::Blob.service = ActiveStorage::Service.configure(:Disk, root: File.join(Dir.tmpdir, "active_storage"))
require "active_storage/verified_key_with_expiration"
ActiveStorage::VerifiedKeyWithExpiration.verifier = ActiveSupport::MessageVerifier.new("Testing")