diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-01 16:50:42 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2012-05-01 16:50:42 +0000 |
commit | c085367bb63b8e6c6a6143265358374dc395365b (patch) | |
tree | 4145c244d889261c59fd7dc0c2096aeba8d142e8 /test | |
parent | bebe429472f8b760b25d70bc6dca780828326f02 (diff) | |
download | redmine-c085367bb63b8e6c6a6143265358374dc395365b.tar.gz redmine-c085367bb63b8e6c6a6143265358374dc395365b.zip |
Adds css class to custom field input tags.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9608 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/functional/issues_controller_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/functional/issues_controller_test.rb b/test/functional/issues_controller_test.rb index bf24ff368..d719137f1 100644 --- a/test/functional/issues_controller_test.rb +++ b/test/functional/issues_controller_test.rb @@ -1268,7 +1268,7 @@ class IssuesControllerTest < ActionController::TestCase assert_template 'new' assert_tag 'select', - :attributes => {:name => 'issue[custom_field_values][1]'}, + :attributes => {:name => 'issue[custom_field_values][1]', :class => 'list_cf'}, :children => {:count => 4}, :child => {:tag => 'option', :attributes => {:value => 'MySQL'}, :content => 'MySQL'} end @@ -2740,7 +2740,7 @@ class IssuesControllerTest < ActionController::TestCase assert_template 'bulk_edit' assert_tag :select, - :attributes => {:name => "issue[custom_field_values][#{field.id}]"}, + :attributes => {:name => "issue[custom_field_values][#{field.id}]", :class => 'user_cf'}, :children => { :only => {:tag => 'option'}, :count => Project.find(1).users.count + 2 # "no change" + "none" options |