Skip to content

Commit c4e8fb6

Browse files
committed
chore : Reset original storage config with default storage.yml
1 parent aaf5079 commit c4e8fb6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

config/environments/test.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@
1818
config.action_controller.allow_forgery_protection = false
1919

2020
# Store uploaded files on the local file system in a temporary directory.
21-
# config.active_storage.service = :test
22-
config.active_storage.draw_routes = false
21+
config.active_storage.service = :test
2322

2423
config.active_support.deprecation = :stderr
2524

config/storage.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
test:
2+
service: Disk
3+
root: <%= Rails.root.join("tmp/storage") %>

0 commit comments

Comments
 (0)