mirror of
https://github.com/postalserver/postal.git
synced 2026-10-18 10:17:22 +00:00
test: use the test environment for running tests
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
ENV['POSTAL_CONFIG_ROOT'] ||= File.expand_path('../config', __FILE__)
|
||||
ENV['POSTAL_ENV'] = 'test'
|
||||
|
||||
require File.expand_path('../../config/environment', __FILE__)
|
||||
require 'rspec/rails'
|
||||
|
||||
Reference in New Issue
Block a user