fix typos
This commit is contained in:
parent
ec1401536e
commit
ac919f011c
|
@ -19,7 +19,7 @@ class LabelTest < ActionView::TestCase
|
||||||
assert_select 'label.string[for=user_name]', /Name/
|
assert_select 'label.string[for=user_name]', /Name/
|
||||||
end
|
end
|
||||||
|
|
||||||
test 'builder generates a label for the boolean attrbiute' do
|
test 'builder generates a label for the boolean attribute' do
|
||||||
with_label_for @user, :name, as: :boolean
|
with_label_for @user, :name, as: :boolean
|
||||||
assert_select 'label.boolean[for=user_name]', /Name/
|
assert_select 'label.boolean[for=user_name]', /Name/
|
||||||
assert_no_select 'label[as=boolean]'
|
assert_no_select 'label[as=boolean]'
|
||||||
|
|
|
@ -60,7 +60,7 @@ class ActionView::TestCase
|
||||||
|
|
||||||
@validating_user = ValidatingUser.build({
|
@validating_user = ValidatingUser.build({
|
||||||
name: 'Tester McTesterson',
|
name: 'Tester McTesterson',
|
||||||
description: 'A test user of the most distinguised caliber',
|
description: 'A test user of the most distinguished caliber',
|
||||||
home_picture: 'Home picture',
|
home_picture: 'Home picture',
|
||||||
age: 19,
|
age: 19,
|
||||||
amount: 15,
|
amount: 15,
|
||||||
|
|
Loading…
Reference in New Issue