Add concerns to autoload

4-1-stable
Dmitriy Zaporozhets 2013-01-03 09:12:24 +02:00
parent a1999955eb
commit e65731bb7e
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -1,6 +1,6 @@
require 'spec_helper'
describe Issue, "IssueCommonality" do
describe Issue, "Issuable" do
let(:issue) { create(:issue) }
describe "Associations" do