diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-01 18:01:21 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-01 18:01:21 +0000 |
commit | d1372107e5409d008f1a6c99eb4231c524df78d6 (patch) | |
tree | 0664ae04a1deaea400986c3be341edd85f54380c /test/unit/helpers/custom_fields_helper_test.rb | |
parent | c085367bb63b8e6c6a6143265358374dc395365b (diff) | |
download | redmine-d1372107e5409d008f1a6c99eb4231c524df78d6.tar.gz redmine-d1372107e5409d008f1a6c99eb4231c524df78d6.zip |
Updated test for r9608.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9609 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers/custom_fields_helper_test.rb')
-rw-r--r-- | test/unit/helpers/custom_fields_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/helpers/custom_fields_helper_test.rb b/test/unit/helpers/custom_fields_helper_test.rb index f353c2aa9..1965874b8 100644 --- a/test/unit/helpers/custom_fields_helper_test.rb +++ b/test/unit/helpers/custom_fields_helper_test.rb @@ -33,7 +33,7 @@ class CustomFieldsHelperTest < ActionView::TestCase value = CustomValue.new(:value => 'bar', :custom_field => field) field.id = 52 - assert_equal '<input id="object_custom_field_values_52" name="object[custom_field_values][52]" type="text" value="bar" />', + assert_equal '<input class="foo_cf" id="object_custom_field_values_52" name="object[custom_field_values][52]" type="text" value="bar" />', custom_field_tag('object', value) end @@ -41,7 +41,7 @@ class CustomFieldsHelperTest < ActionView::TestCase field = CustomField.new(:field_format => 'foo') field.id = 52 - assert_equal '<input id="object_custom_field_values_52" name="object[custom_field_values][52]" type="text" value="" />', + assert_equal '<input class="foo_cf" id="object_custom_field_values_52" name="object[custom_field_values][52]" type="text" value="" />', custom_field_tag_for_bulk_edit('object', field) end end |