Module: QueryMatchers

Defined in:
lib/query_matchers.rb,
lib/query_matchers/version.rb,
lib/query_matchers/query_counter.rb,
lib/query_matchers/query_execution_matcher.rb

Defined Under Namespace

Classes: QueryCounter, QueryExecutionMatcher

Constant Summary collapse

VERSION =
"0.0.11"

Instance Method Summary collapse

Instance Method Details

#execute_no_queriesObject



13
14
15
# File 'lib/query_matchers.rb', line 13

def execute_no_queries
  QueryExecutionMatcher.new(0)
end

#execute_one_queryObject



9
10
11
# File 'lib/query_matchers.rb', line 9

def execute_one_query
  QueryExecutionMatcher.new(1)
end

#execute_queries(n) ⇒ Object



5
6
7
# File 'lib/query_matchers.rb', line 5

def execute_queries(n)
  QueryExecutionMatcher.new(n)
end