diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-29 17:58:10 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2013-01-29 17:58:10 +0000 |
commit | 5851f55eeba77cb0dc037e724875ee93b6ac8c9f (patch) | |
tree | 23f9da1a68b0b4659acbe8ad9dae71e9b9015de7 /test/unit | |
parent | d215cc136c3cd50261a03537e825cc4fd896fe4a (diff) | |
download | redmine-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.rb | 2 |
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) |