register test paths to run tests from openproject core

pull/6827/head
Christian Rijke 12 years ago
parent 1f1070be09
commit 47fb75257f
  1. 4
      lib/open_project/backlogs/engine.rb

@ -16,6 +16,10 @@ module OpenProject::Backlogs
Rails.application.config.assets.precompile += %w( backlogs.css backlogs.js )
end
initializer 'backlogs.register_test_paths' do |app|
app.config.plugins_to_test_paths << self.root
end
config.to_prepare do
# TODO: avoid this dirty hack necessary to prevent settings method getting lost after reloading

Loading…
Cancel
Save