use minimal app_config for tests
This commit is contained in:
parent
0ed867b991
commit
ed439d0b08
3 changed files with 38 additions and 1 deletions
|
|
@ -1,5 +1,6 @@
|
|||
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
||||
ENV["RAILS_ENV"] ||= 'test'
|
||||
ENV["FOODSOFT_APP_CONFIG"] ||= 'spec/app_config.yml' # load special foodsoft config
|
||||
require_relative 'support/coverage' # needs to be first
|
||||
require File.expand_path("../../config/environment", __FILE__)
|
||||
require 'rspec/rails'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue