Merge branch 'fix-settings-spec' into 'master'

Fix settings_spec so that it can that run by itself

Running `spec/settings_spec.rb` would fail because it would attempt to load `1_settings.rb`, which would reference `Rails`. This constant was not loaded without `spec_helper.rb`.


See merge request !4893
This commit is contained in:
Stan Hu 2016-06-24 06:01:49 +00:00
commit 4477dc249e

View file

@ -1,3 +1,4 @@
require 'spec_helper'
require_relative '../../config/initializers/1_settings'
describe Settings, lib: true do