From c430822c6a957e4223d29d1a8e7869551d9af7c8 Mon Sep 17 00:00:00 2001 From: Andy Waite <13400+andyw8@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:50:23 -0500 Subject: [PATCH] Remove DB setup [skip ci] --- .gitignore | 1 - test/dummy/config/application.rb | 2 +- test/dummy/config/database.yml | 12 ------------ 3 files changed, 1 insertion(+), 14 deletions(-) delete mode 100644 test/dummy/config/database.yml diff --git a/.gitignore b/.gitignore index a1f9f1e49..60f308fb5 100644 --- a/.gitignore +++ b/.gitignore @@ -9,5 +9,4 @@ /tmp/ /vendor/ *.log -test/dummy/storage/ test/dummy/tmp/ diff --git a/test/dummy/config/application.rb b/test/dummy/config/application.rb index 984ad13ef..80235bcc6 100644 --- a/test/dummy/config/application.rb +++ b/test/dummy/config/application.rb @@ -5,7 +5,7 @@ require "bundler/setup" if File.exist?(ENV["BUNDLE_GEMFILE"]) $LOAD_PATH.unshift(File.expand_path("../../../lib", __dir__)) -require "rails/all" +require "rails" # minimal, instead of "rails/all" Bundler.require(*Rails.groups) diff --git a/test/dummy/config/database.yml b/test/dummy/config/database.yml deleted file mode 100644 index e2abd313a..000000000 --- a/test/dummy/config/database.yml +++ /dev/null @@ -1,12 +0,0 @@ -default: &default - adapter: sqlite3 - database: ":memory:" - pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %> - timeout: 5000 - -development: - <<: *default - -test: - <<: *default - database: ":memory:"