From ac919f011c388e432efb51c07757a58d315def79 Mon Sep 17 00:00:00 2001 From: Douglas Lara Date: Mon, 23 Dec 2019 02:10:00 -0300 Subject: [PATCH] fix typos --- test/form_builder/label_test.rb | 2 +- test/test_helper.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/form_builder/label_test.rb b/test/form_builder/label_test.rb index cb78b7dd..befd07aa 100644 --- a/test/form_builder/label_test.rb +++ b/test/form_builder/label_test.rb @@ -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]' diff --git a/test/test_helper.rb b/test/test_helper.rb index 8797e93a..796647d2 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -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,