@@ -147,7 +147,6 class IssuesControllerTest < ActionController::TestCase | |||
|
147 | 147 | end |
|
148 | 148 | |
|
149 | 149 | def test_index_with_short_filters |
|
150 | ||
|
151 | 150 | to_test = { |
|
152 | 151 | 'status_id' => { |
|
153 | 152 | 'o' => { :op => 'o', :values => [''] }, |
@@ -181,9 +180,9 class IssuesControllerTest < ActionController::TestCase | |||
|
181 | 180 | 't-2' => { :op => 't-', :values => ['2'] }}, |
|
182 | 181 | 'created_on' => { |
|
183 | 182 | '>=2011-10-12' => { :op => '>=', :values => ['2011-10-12'] }, |
|
184 |
'<t |
|
|
185 |
'>t |
|
|
186 |
't |
|
|
183 | '<t-2' => { :op => '<t-', :values => ['2'] }, | |
|
184 | '>t-2' => { :op => '>t-', :values => ['2'] }, | |
|
185 | 't-2' => { :op => 't-', :values => ['2'] }}, | |
|
187 | 186 | 'cf_1' => { |
|
188 | 187 | 'c' => { :op => '=', :values => ['c'] }, |
|
189 | 188 | '!c' => { :op => '!', :values => ['c'] }, |
@@ -215,7 +214,6 class IssuesControllerTest < ActionController::TestCase | |||
|
215 | 214 | assert_equal(default_filter.merge({field => {:operator => expected[:op], :values => expected[:values]}}), query.filters) |
|
216 | 215 | end |
|
217 | 216 | end |
|
218 | ||
|
219 | 217 | end |
|
220 | 218 | |
|
221 | 219 | def test_index_with_project_and_empty_filters |
General Comments 0
You need to be logged in to leave comments.
Login now