This commit is contained in:
Carlos Antonio da Silva 2011-02-07 23:24:37 -02:00
parent 8dfa0d885f
commit 416ef686f2
1 changed files with 1 additions and 1 deletions

View File

@ -205,7 +205,7 @@ class LabelTest < ActionView::TestCase
with_label_for :project, :description, :string, :required => false
assert_no_select 'label.required[for=project_description]'
end
test 'label should add chosen label class' do
swap SimpleForm, :label_class => :my_custom_class do
with_label_for @user, :name, :string