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:
commit
4477dc249e
1 changed files with 1 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
require 'spec_helper'
|
||||
require_relative '../../config/initializers/1_settings'
|
||||
|
||||
describe Settings, lib: true do
|
||||
|
|
Loading…
Reference in a new issue