Let me see what was not found.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11284 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
d215cc136c
commit
5851f55eeb
|
@ -63,7 +63,7 @@ class QueryTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def assert_query_statement_includes(query, condition)
|
def assert_query_statement_includes(query, condition)
|
||||||
assert query.statement.include?(condition), "Query statement condition not found in: #{query.statement}"
|
assert_include condition, query.statement
|
||||||
end
|
end
|
||||||
|
|
||||||
def assert_query_result(expected, query)
|
def assert_query_result(expected, query)
|
||||||
|
|
Loading…
Reference in New Issue