Merge pull request #29 from finnlabs/feature/rails3_rename_reporting_module

Put the reporting module for the spec query helper into the openproject ...
pull/6827/head
ulferts 12 years ago
commit 255b650600
  1. 6
      spec/support/query_helper.rb

@ -1,14 +1,12 @@
module Reporting module OpenProject::Reporting::QueryHelper
module QueryHelper
def minimal_query def minimal_query
before do before do
@query = CostQuery.new @query = CostQuery.new
@query.send(:minimal_chain!) @query.send(:minimal_chain!)
end end
end end
end
end end
RSpec.configure do |c| RSpec.configure do |c|
c.extend Reporting::QueryHelper, :reporting_query_helper => true c.extend OpenProject::Reporting::QueryHelper, :reporting_query_helper => true
end end

Loading…
Cancel
Save