Remove duplicated test case

This commit is contained in:
Rafael Mendonça França 2012-04-21 09:53:56 -03:00
parent 359f481f88
commit 1ac8a07c41
1 changed files with 0 additions and 9 deletions

View File

@ -319,15 +319,6 @@ class FormBuilderTest < ActionView::TestCase
assert_select "input.string.default_class[name='user[company_attributes][name]']"
end
test 'input size and maxlength should be the column limit plus one to make room for decimal point if the user uses text instead of number for field type' do
with_concat_form_for @user do |f|
concat(f.input(:credit_limit, :as => :string))
end
assert_select "input[type=text][name='user[credit_limit]'][maxlength=16][size=16]"
assert_no_select "input[type=text][name='user[credit_limit]'][maxlength=15][size=15]"
end
# WITHOUT OBJECT
test 'builder should generate properly when object is not present' do
with_form_for :project, :name