diff options
Diffstat (limited to 'activestorage/test')
-rw-r--r-- | activestorage/test/database/setup.rb | 3 | ||||
-rw-r--r-- | activestorage/test/service/azure_storage_service_test.rb | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/activestorage/test/database/setup.rb b/activestorage/test/database/setup.rb index b12038ee68..610b927cc3 100644 --- a/activestorage/test/database/setup.rb +++ b/activestorage/test/database/setup.rb @@ -1,6 +1,5 @@ -require "active_storage/migration" require_relative "create_users_migration" ActiveRecord::Base.establish_connection(adapter: "sqlite3", database: ":memory:") -ActiveStorageCreateTables.migrate(:up) +ActiveRecord::Migrator.migrate File.expand_path("../../../db/migrate", __FILE__) ActiveStorageCreateUsers.migrate(:up) diff --git a/activestorage/test/service/azure_storage_service_test.rb b/activestorage/test/service/azure_storage_service_test.rb index cc4d7aa5f6..a0c6a4de73 100644 --- a/activestorage/test/service/azure_storage_service_test.rb +++ b/activestorage/test/service/azure_storage_service_test.rb @@ -14,9 +14,7 @@ if SERVICE_CONFIGURATIONS[:azure] assert_match(/(\S+)&rsct=image%2Fpng&rscd=inline%3B\+filename%3D%22avatar.png/, url) assert_match SERVICE_CONFIGURATIONS[:azure][:container], url end - end - else puts "Skipping Azure Storage Service tests because no Azure configuration was supplied" end |