Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
douglara committed Dec 23, 2019
1 parent ec14015 commit ac919f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/form_builder/label_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def with_label_for(object, *args, &block)
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]'
Expand Down
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def setup_users(extra_attributes = {})

@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,
Expand Down

0 comments on commit ac919f0

Please sign in to comment.