ensure operators to exist before instantiating a query

pull/6827/head
Jens Ulferts 9 years ago
parent c7ea46c82a
commit 608f162ac8
  1. 3
      spec/support/query_helper.rb

@ -17,6 +17,9 @@
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
#++ #++
# need to define all the operators
require 'cost_query/operator'
module OpenProject::Reporting module OpenProject::Reporting
module QueryHelper module QueryHelper
def minimal_query def minimal_query

Loading…
Cancel
Save