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.2"
Instance Method Summary
collapse
Instance Method Details
#execute_no_queries ⇒ Object
13
14
15
|
# File 'lib/query_matchers.rb', line 13
def execute_no_queries
QueryExecutionMatcher.new(0)
end
|
#execute_one_query ⇒ Object
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
|