diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-17 08:46:23 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-17 08:46:23 +0000 |
commit | ee1bb54ab624e095919b6bf4251fdcafcc43758a (patch) | |
tree | c23d99ca6a5098e86b2fa41aa2bc27efc9501999 /test/functional/custom_fields_controller_test.rb | |
parent | 48295a6c4b9ac47263631b653153743b43afdf66 (diff) | |
download | redmine-ee1bb54ab624e095919b6bf4251fdcafcc43758a.tar.gz redmine-ee1bb54ab624e095919b6bf4251fdcafcc43758a.zip |
CustomFieldsController#list moved to #index.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2274 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/functional/custom_fields_controller_test.rb')
-rw-r--r-- | test/functional/custom_fields_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/custom_fields_controller_test.rb b/test/functional/custom_fields_controller_test.rb index c37368da2..42dedb3c1 100644 --- a/test/functional/custom_fields_controller_test.rb +++ b/test/functional/custom_fields_controller_test.rb @@ -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
|