From 5851f55eeba77cb0dc037e724875ee93b6ac8c9f Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 29 Jan 2013 17:58:10 +0000 Subject: [PATCH] Let me see what was not found. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11284 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/query_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)