diff --git a/.codespellrc b/.codespellrc new file mode 100644 index 0000000..8e028ad --- /dev/null +++ b/.codespellrc @@ -0,0 +1,3 @@ +[codespell] +skip = coverage,Gemfile.lock,sublime* +ignore-words-list = bu diff --git a/examples/naval-fate/runfile b/examples/naval-fate/runfile index 6971ee8..3dc89c9 100644 --- a/examples/naval-fate/runfile +++ b/examples/naval-fate/runfile @@ -7,7 +7,7 @@ SUMMARY usage 'new SHIPS...' help 'Deploy one or more ships' -param 'SHIPS', 'One ore more ship names' +param 'SHIPS', 'One or more ship names' action :new do |args| args['SHIPS'].each do |ship| say "Deployed g`#{ship}`" diff --git a/spec/approvals/integration/naval-fate/run --help b/spec/approvals/integration/naval-fate/run --help index a2a125c..ec4a4cd 100644 --- a/spec/approvals/integration/naval-fate/run --help +++ b/spec/approvals/integration/naval-fate/run --help @@ -22,7 +22,7 @@ Commands: Parameters: SHIPS - One ore more ship names + One or more ship names SHIP Ship name diff --git a/spec/integration/README.md b/spec/integration/README.md index c6f6291..4c1853b 100644 --- a/spec/integration/README.md +++ b/spec/integration/README.md @@ -4,7 +4,7 @@ Notes: - Do not place anything else here. - Integration specs are executed on this folder and on the examples folder and - generat approvals to the same folder - so avoid having directories here + generate approvals to the same folder - so avoid having directories here that also exist in the example folder. - Folders without commands.txt will not be tested by the integration testing, they are used in other more specific tests. diff --git a/spec/runfile/initiator_spec.rb b/spec/runfile/initiator_spec.rb index 8e4b740..2639928 100644 --- a/spec/runfile/initiator_spec.rb +++ b/spec/runfile/initiator_spec.rb @@ -19,7 +19,7 @@ end context 'with "example"' do - it 'shows the lsit of examples' do + it 'shows the list of examples' do Dir.chdir 'spec/tmp' do expect { subject.run %w[example] }.to output_approval('initiator/examples') end