Always run tests using example.application.yml
This fixes an Oauth integration test failure when a custom application.yml is present.
This commit is contained in:
parent
5508a3857f
commit
c4edac9fd8
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
require 'yaml'
|
||||
|
||||
config = YAML.load_file(File.expand_path("../application.yml", __FILE__))
|
||||
env = ENV['RAILS_ENV'] || 'development'
|
||||
config = YAML.load_file(File.expand_path(env == "test" ? "../example.application.yml" : "../application.yml", __FILE__))
|
||||
|
||||
ENV.each do |key,value|
|
||||
if key.match(/^OSM_(.*)$/)
|
||||
|
|
Loading…
Add table
Reference in a new issue