1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Sort out circular dependency for now

This commit is contained in:
David Heinemeier Hansson 2017-07-01 12:47:25 +02:00
parent 182445e1b4
commit 27c2516f48
3 changed files with 3 additions and 3 deletions

View file

@ -39,3 +39,5 @@ end
module ActiveFile::Sites module ActiveFile::Sites
end end
require "active_file/sites/disk_site"

View file

@ -1,5 +1,3 @@
require "active_file/site"
require "fileutils" require "fileutils"
require "pathname" require "pathname"

View file

@ -2,7 +2,7 @@ require "test_helper"
require "fileutils" require "fileutils"
require "tmpdir" require "tmpdir"
require "active_support/core_ext/securerandom" require "active_support/core_ext/securerandom"
require "active_file/sites/disk_site" require "active_file/site"
class ActiveFile::DiskSiteTest < ActiveSupport::TestCase class ActiveFile::DiskSiteTest < ActiveSupport::TestCase
FIXTURE_KEY = SecureRandom.base58(24) FIXTURE_KEY = SecureRandom.base58(24)