git-svn-id: http://svn.redmine.org/redmine/trunk@13559 e93f8b46-1217-0410-a6f0-8f06a7374b81tags/3.0.0
@@ -1417,6 +1417,7 @@ class QueryTest < ActiveSupport::TestCase | |||
end | |||
def test_query_column_should_accept_a_symbol_as_caption | |||
set_language_if_valid 'en' | |||
c = QueryColumn.new('foo', :caption => :general_text_Yes) | |||
assert_equal 'Yes', c.caption | |||
end |