From ab1377b794bd9421792721bf0d2ffec2f586c1e0 Mon Sep 17 00:00:00 2001 From: Jesse McGinnis Date: Wed, 22 May 2024 00:08:59 -0400 Subject: [PATCH] Does in-memory play nicer with CI? --- Rakefile | 6 ------ config/database.yml | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/Rakefile b/Rakefile index 0696edb8..b944aeb6 100644 --- a/Rakefile +++ b/Rakefile @@ -12,12 +12,6 @@ namespace :db do load("db/schema.rb") end - desc "Create the database" - task :create do - require_relative "config/environment" - ActiveRecord::Tasks::DatabaseTasks.create_current - end - desc "Drop the database" task :drop do require_relative "config/environment" diff --git a/config/database.yml b/config/database.yml index 490333f1..d42fbb02 100644 --- a/config/database.yml +++ b/config/database.yml @@ -19,7 +19,7 @@ development: # Do not set this db to the same as development or production. test: <<: *default - database: storage/test.sqlite3 + database: ':memory:' # Explicitly no `production` # This is run locally, only.