Skip to content

Commit 82f7b19

Browse files
committed
- Disabled config.serve_static_assets option from ENV config since rails has deprecated it and we dont rely on it from tests
1 parent 9c19706 commit 82f7b19

File tree

1 file changed

+2
-1
lines changed
  • test/dummy/config/environments

1 file changed

+2
-1
lines changed

test/dummy/config/environments/test.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
config.eager_load = false
1818

1919
# Configure static asset server for tests with Cache-Control for performance.
20-
config.serve_static_assets = true
20+
# Disabled since we dont use it and this option is deprecated from Rails 4.2 onwards
21+
# config.serve_static_assets = true
2122
config.static_cache_control = "public, max-age=3600"
2223

2324
# Show full error reports and disable caching.

0 commit comments

Comments
 (0)