diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/unit/lib/redmine/field_format/version_field_format_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/lib/redmine/field_format/version_field_format_test.rb b/test/unit/lib/redmine/field_format/version_field_format_test.rb index 34eae0a6d..d8b6ed557 100644 --- a/test/unit/lib/redmine/field_format/version_field_format_test.rb +++ b/test/unit/lib/redmine/field_format/version_field_format_test.rb @@ -116,7 +116,9 @@ class Redmine::VersionFieldFormatTest < ActionView::TestCase query = Query.new(:project => project) full_name = "#{version.project} - #{version.name}" - assert_include [full_name, version.id.to_s, l(:version_status_locked)], + assert_include( + [full_name, version.id.to_s, l(:version_status_locked)], field.query_filter_options(query)[:values].call + ) end end |