mirror of
https://github.com/postalserver/postal.git
synced 2026-10-19 10:46:32 +00:00
feat: new configuration system (and schema) (#2819)
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
ENV["POSTAL_ENV"] = "test"
|
||||
ENV["POSTAL_CONFIG_FILE_PATH"] ||= "config/postal/postal.test.yml"
|
||||
|
||||
require "dotenv"
|
||||
Dotenv.load(".env.test")
|
||||
|
||||
require File.expand_path("../config/environment", __dir__)
|
||||
require "rspec/rails"
|
||||
|
||||
Reference in New Issue
Block a user