Commit 7880166b by mingyuan

not depend rails com

parent a8f5f7c9
require 'rails_com'
module RailsDingtalk module RailsDingtalk
class Engine < ::Rails::Engine class Engine < ::Rails::Engine
config.autoload_paths += Dir[ config.autoload_paths += Dir[
...@@ -12,10 +11,9 @@ module RailsDingtalk ...@@ -12,10 +11,9 @@ module RailsDingtalk
helper: false helper: false
} }
g.test_unit = { g.test_unit = {
fixture: true, fixture: true
fixture_replacement: :factory_girl
} }
g.templates.unshift File.expand_path('lib/templates', RailsCom::Engine.root) #g.templates.unshift File.expand_path('lib/templates', RailsCom::Engine.root)
end end
end end
end end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment