Add concerns to autoload
This commit is contained in:
parent
a1999955eb
commit
e65731bb7e
2 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ module Gitlab
|
|||
# -- all .rb files in that directory are automatically loaded.
|
||||
|
||||
# Custom directories with classes and modules you want to be autoloadable.
|
||||
config.autoload_paths += %W(#{config.root}/lib)
|
||||
config.autoload_paths += %W(#{config.root}/lib #{config.root}/app/models/concerns)
|
||||
|
||||
# Only load the plugins named here, in the order given (default is alphabetical).
|
||||
# :all can be used as a placeholder for all plugins not explicitly named.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe Issue, "IssueCommonality" do
|
||||
describe Issue, "Issuable" do
|
||||
let(:issue) { create(:issue) }
|
||||
|
||||
describe "Associations" do
|
Loading…
Reference in a new issue