mirror of
https://github.com/redmine/redmine.git
synced 2026-07-20 22:32:13 +02:00
CustomFieldsController#list moved to #index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2274 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -47,7 +47,7 @@ class CustomFieldsControllerTest < Test::Unit::TestCase
|
||||
:field_format => "list",
|
||||
:tracker_ids => ["1", ""]}
|
||||
end
|
||||
assert_redirected_to '/custom_fields/list'
|
||||
assert_redirected_to '/custom_fields'
|
||||
field = IssueCustomField.find_by_name('test_post_new_list')
|
||||
assert_not_nil field
|
||||
assert_equal ["0.1", "0.2"], field.possible_values
|
||||
@@ -56,6 +56,6 @@ class CustomFieldsControllerTest < Test::Unit::TestCase
|
||||
|
||||
def test_invalid_custom_field_class_should_redirect_to_list
|
||||
get :new, :type => 'UnknownCustomField'
|
||||
assert_redirected_to '/custom_fields/list'
|
||||
assert_redirected_to '/custom_fields'
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user