Skip to content

Fix typos across comments, docs, and spec descriptions - #57

Open
tas50 wants to merge 1 commit into
chef:mainfrom
tas50:fix/typos
Open

Fix typos across comments, docs, and spec descriptions#57
tas50 wants to merge 1 commit into
chef:mainfrom
tas50:fix/typos

Conversation

@tas50

@tas50 tas50 commented Aug 22, 2026

Copy link
Copy Markdown

Description

Fixes misspellings found by typos plus one duplicated word (adds the the) caught by a separate backreference scan.

Every change is confined to a comment, an RSpec describe/it description string, the ERB parse-error template message, or CHANGELOG prose. No code, matcher names, resource names, or behavior are affected — the adjacent matcher calls (touch_remote_file, options_http_request) are untouched.

Fix Where
uploaededuploaded Rakefile
occuredoccurred templates/errors/erb_template_parse_error.erb
defintionsdefinitions lib/chefspec/formatter.rb
converagecoverage, adds the theadds the lib/chefspec/coverage.rb
convertableconvertible lib/chefspec/api/render_file.rb
noenode lib/chefspec/renderer.rb
becuasebecause lib/chefspec/extensions/chef/securable.rb
inhertsinherits 3 files under spec/unit/stubs/
retrnsreturns spec/unit/macros_spec.rb
paritalspartials spec/unit/renderer_spec.rb
load_curent_valueload_current_value examples/stubs_for/resources/old.rb
touchstouches examples/remote_file/spec/touch_spec.rb
evaluteevaluate examples/guards/spec/default_spec.rb
serivceservice 4 files under examples/
optionssoptions examples/http_request/spec/options_spec.rb
maniuplatedmanipulated, SignifantSignificant CHANGELOG.md

Two scanner hits were deliberately not changed, since both are correct as written:

  • DracoAter in lib/chefspec/cacher.rb and CHANGELOG.md — a GitHub username, flagged for the substring Ater.
  • # Hax. in lib/chefspec/extensions/chef/cookbook_loader.rb — intentional slang, not a misspelling of Hex.

The two CHANGELOG.md entries are the only historical-record edits here; happy to drop that file from the PR if you would rather leave released notes as-is.

Types of changes

  • Documentation / non-functional cleanup

Checklist

  • Changes are limited to comments, test descriptions, and docs
  • All modified Ruby files pass ruby -c; the ERB template still parses
  • typos reports no remaining hits apart from the two intentional exclusions above

Corrects misspellings found by typos-cli plus one duplicated word. All
changes are confined to comments, RSpec description strings, the ERB
parse-error template message, and two CHANGELOG entries -- no code,
matcher names, or behavior is affected.

Deliberately left alone: "DracoAter" (a GitHub username the scanner
flags for the substring "Ater") and the intentional "Hax." comment in
the cookbook loader.

Signed-off-by: Tim Smith <tsmith84@proton.me>
@tas50
tas50 requested review from a team and jaymzh as code owners August 22, 2026 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant