summaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-29 17:58:10 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-29 17:58:10 +0000
commit5851f55eeba77cb0dc037e724875ee93b6ac8c9f (patch)
tree23f9da1a68b0b4659acbe8ad9dae71e9b9015de7 /test/unit
parentd215cc136c3cd50261a03537e825cc4fd896fe4a (diff)
downloadredmine-5851f55eeba77cb0dc037e724875ee93b6ac8c9f.tar.gz
redmine-5851f55eeba77cb0dc037e724875ee93b6ac8c9f.zip
Let me see what was not found.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11284 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/query_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb
index 614f3c8d5..f728ed5c0 100644
--- a/test/unit/query_test.rb
+++ b/test/unit/query_test.rb
@@ -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)