Merge pull request #1681 from douglara/fix-typos

fix typos
This commit is contained in:
Felipe Renan 2019-12-28 15:35:42 +02:00 committed by GitHub
commit b9df6f978c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -19,7 +19,7 @@ class LabelTest < ActionView::TestCase
assert_select 'label.string[for=user_name]', /Name/
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
assert_select 'label.boolean[for=user_name]', /Name/
assert_no_select 'label[as=boolean]'

View File

@ -60,7 +60,7 @@ class ActionView::TestCase
@validating_user = ValidatingUser.build({
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',
age: 19,
amount: 15,