Skip to content

Commit

Permalink
Merge pull request #218 from rails/no-dev-or-test-db
Browse files Browse the repository at this point in the history
Remove database from test/development configuration
  • Loading branch information
djmb authored Sep 10, 2024
2 parents 1a7bc82 + 77a445d commit 5b5f410
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
default: &default
database: <%= ENV.fetch("DATABASE", "cache") %>
store_options:
# Cap age of oldest cache entry to fulfill retention policies
# max_age: <%%= 60.days.to_i %>
Expand All @@ -13,4 +12,5 @@ test:
<<: *default

production:
database: <%= ENV.fetch("DATABASE", "cache") %>
<<: *default
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ class SolidCache::InstallGeneratorTest < Rails::Generators::TestCase
def expected_solid_cache_config
<<~YAML
default: &default
database: cache
store_options:
# Cap age of oldest cache entry to fulfill retention policies
# max_age: <%= 60.days.to_i %>
Expand All @@ -44,6 +43,7 @@ def expected_solid_cache_config
<<: *default
production:
database: cache
<<: *default
YAML
end
Expand Down

0 comments on commit 5b5f410

Please sign in to comment.