@@ -182,6 +182,7 class QueryTest < ActiveSupport::TestCase | |||||
182 | end |
|
182 | end | |
183 |
|
183 | |||
184 | def test_operator_none_for_string_custom_field |
|
184 | def test_operator_none_for_string_custom_field | |
|
185 | CustomField.find(2).update_attribute :default_value, "" | |||
185 | query = IssueQuery.new(:project => Project.find(1), :name => '_') |
|
186 | query = IssueQuery.new(:project => Project.find(1), :name => '_') | |
186 | query.add_filter('cf_2', '!*', ['']) |
|
187 | query.add_filter('cf_2', '!*', ['']) | |
187 | assert query.has_filter?('cf_2') |
|
188 | assert query.has_filter?('cf_2') |
General Comments 0
You need to be logged in to leave comments.
Login now