mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-09 12:46:07 +10:00
Add concerns to autoload
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user