Commit bd0e5fe3 authored by jbbarth's avatar jbbarth
Browse files

Added a test to ensure 'Project' column can be removed on issues list (#8411)

git-svn-id: https://svn.redmine.org/redmine/trunk@6099 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 93376e17
......@@ -267,6 +267,12 @@ class IssuesControllerTest < ActionController::TestCase
assert_kind_of Hash, session[:query]
assert_kind_of Array, session[:query][:column_names]
assert_equal columns, session[:query][:column_names].map(&:to_s)
# ensure only these columns are kept in the selected columns list
assert_tag :tag => 'select', :attributes => { :id => 'selected_columns' },
:children => { :count => 3 }
assert_no_tag :tag => 'option', :attributes => { :value => 'project' },
:parent => { :tag => 'select', :attributes => { :id => "selected_columns" } }
end
def test_index_with_custom_field_column
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment