##// END OF EJS Templates
Added a test to ensure 'Project' column can be removed on issues list (#8411)...
Jean-Baptiste Barth -
r5979:8a5015178069
parent child
Show More
@@ -267,6 +267,12 class IssuesControllerTest < ActionController::TestCase
267 assert_kind_of Hash, session[:query]
267 assert_kind_of Hash, session[:query]
268 assert_kind_of Array, session[:query][:column_names]
268 assert_kind_of Array, session[:query][:column_names]
269 assert_equal columns, session[:query][:column_names].map(&:to_s)
269 assert_equal columns, session[:query][:column_names].map(&:to_s)
270
271 # ensure only these columns are kept in the selected columns list
272 assert_tag :tag => 'select', :attributes => { :id => 'selected_columns' },
273 :children => { :count => 3 }
274 assert_no_tag :tag => 'option', :attributes => { :value => 'project' },
275 :parent => { :tag => 'select', :attributes => { :id => "selected_columns" } }
270 end
276 end
271
277
272 def test_index_with_custom_field_column
278 def test_index_with_custom_field_column
General Comments 0
You need to be logged in to leave comments. Login now