test: use the test environment for running tests

This commit is contained in:
Adam Cooke
2022-02-14 14:35:21 +00:00
parent d22237d0ec
commit f114a8d8b9
+1 -1
View File
@@ -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'