Commit b95f1ce9 authored by jplang's avatar jplang

Let me see what was not found.

git-svn-id: https://svn.redmine.org/redmine/trunk@11284 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent acacd20e
......@@ -63,7 +63,7 @@ class QueryTest < ActiveSupport::TestCase
end
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
def assert_query_result(expected, query)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment