diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-17 08:25:55 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-17 08:25:55 +0000 |
commit | 5ed2e78ae2abc249c410665f65b1ed9e84c4d6c5 (patch) | |
tree | 3633734ae47a08d75666f8e8ca5fae788c0f2ddf /test/functional/custom_fields_controller_test.rb | |
parent | d1a1e25bb8902ec46c5b3cc95dc5dad5f3e7265c (diff) | |
download | redmine-5ed2e78ae2abc249c410665f65b1ed9e84c4d6c5.tar.gz redmine-5ed2e78ae2abc249c410665f65b1ed9e84c4d6c5.zip |
Make use of tracker_ids association in issue custom field form.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2272 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 fa36d2afd..d77bad527 100644 --- a/test/functional/custom_fields_controller_test.rb +++ b/test/functional/custom_fields_controller_test.rb @@ -34,7 +34,6 @@ class CustomFieldsControllerTest < Test::Unit::TestCase def test_post_new_list_custom_field
assert_difference 'CustomField.count' do
post :new, :type => "IssueCustomField",
- :tracker_ids => ["1"],
:custom_field => {:name => "test_post_new_list",
:default_value => "",
:min_length => "0",
@@ -45,7 +44,8 @@ class CustomFieldsControllerTest < Test::Unit::TestCase :max_length => "0",
:is_filter => "0",
:is_required =>"0",
- :field_format => "list"}
+ :field_format => "list",
+ :tracker_ids => ["1", ""]}
end
assert_redirected_to '/custom_fields/list'
field = IssueCustomField.find_by_name('test_post_new_list')
|