parent
d92e7b69bd
commit
3aedc76f77
@ -1,8 +1,14 @@ |
||||
class Spec::Rails::Example::ModelExampleGroup |
||||
def minimal_query |
||||
before do |
||||
@query = CostQuery.new |
||||
@query.send(:minimal_chain!) |
||||
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 |
||||
|
Loading…
Reference in new issue