OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/spec/support/query_helper.rb

14 lines
267 B

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