diff --git a/.gitignore b/.gitignore index 2b9a9c6d..93af94f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ !/.env*.erb !/app/assets/builds/.keep -!/log/.keep !/storage/.keep !/tmp/.keep !/tmp/pids/ @@ -28,7 +27,6 @@ /config/master.key /coverage /doc -/log/* /log/*.log /node_modules /public/assets diff --git a/config/environments/test.rb b/config/environments/test.rb index 583825d0..399933b7 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -83,6 +83,8 @@ # Raise error when a before_action's only/except options reference missing actions config.action_controller.raise_on_missing_callback_actions = true + config.active_job.queue_adapter = :test + config.stripe = { secret_api_key: Rails.application.credentials.test.dig(:stripe, :secret_api_key), publishable_api_key: Rails.application.credentials.test.dig(:stripe, :publishable_api_key) diff --git a/log/.gitkeep b/log/.gitkeep new file mode 100644 index 00000000..e69de29b