Skip to content

Commit

Permalink
Fix several typos and spelling errors (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdufresne committed Jun 12, 2022
1 parent 40573f0 commit 0ce8272
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

### Added

- Tesed on ruby 3.0 and 3.1
- Tested on ruby 3.0 and 3.1

### Fixed

Expand Down Expand Up @@ -226,7 +226,7 @@
## 2.29.2 - 2019-08-06

### Fixed
- Eliminate some ruby warnings relating to ambigious arguments, unused variables, a redefined method, and uninitialized instance variables ([#712](https://github.com/grosser/parallel_tests/pull/712)).
- Eliminate some ruby warnings relating to ambiguous arguments, unused variables, a redefined method, and uninitialized instance variables ([#712](https://github.com/grosser/parallel_tests/pull/712)).

## 2.29.1 - 2019-06-13

Expand Down
2 changes: 1 addition & 1 deletion spec/parallel_tests/cucumber/scenarios_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
Examples:
| colour |
| magenta |
| fuschia |
| fuchsia |
@green
Examples:
Expand Down
2 changes: 1 addition & 1 deletion spec/parallel_tests/gherkin/runner_behaviour.rb
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ def call(*args)
ParallelTests::Gherkin::Runner.send(:find_tests, *args)
end

it "doesn't find bakup files with the same name as test files" do
it "doesn't find backup files with the same name as test files" do
with_files(['a/x.feature', 'a/x.feature.bak']) do |root|
expect(call(["#{root}/"])).to eq(
[
Expand Down
4 changes: 2 additions & 2 deletions spec/parallel_tests/grouper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ def call(num_groups, options = {})
)
end

it "specify_groups aborts when spec passed in doesnt match existing specs" do
it "specify_groups aborts when spec passed in doesn't match existing specs" do
expect do
call(3, specify_groups: '1|2|6')
end.to raise_error(
"Could not find [\"6\"] from --specify-groups in the selected files & folders"
)
end

it "specify_groups aborts when spec passed in doesnt match existing specs again" do
it "specify_groups aborts when spec passed in doesn't match existing specs again" do
expect do
call(3, specify_groups: '1,6|2')
end.to raise_error(
Expand Down
4 changes: 2 additions & 2 deletions spec/parallel_tests/rspec/runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def call(*args)
ParallelTests::RSpec::Runner.run_tests(*args)
end

it "runs command using nice when specifed" do
it "runs command using nice when specified" do
ParallelTests.with_pid_file do
expect(ParallelTests::Test::Runner).to receive(:execute_command_and_capture_output) do |_a, b, _c|
expect(b.first(2)).to eq(["nice", "rspec"])
Expand Down Expand Up @@ -119,7 +119,7 @@ def call(*args)
ParallelTests::RSpec::Runner.send(:find_tests, *args)
end

it "doesn't find bakup files with the same name as test files" do
it "doesn't find backup files with the same name as test files" do
with_files(['a/x_spec.rb', 'a/x_spec.rb.bak']) do |root|
expect(call(["#{root}/"])).to eq(["#{root}/a/x_spec.rb"])
end
Expand Down
2 changes: 1 addition & 1 deletion spec/parallel_tests/tasks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@

describe ".suppress_output", unless: Gem.win_platform? do
def call(command, grep)
# Explictly run as a parameter to /bin/bash to simulate how
# Explicitly run as a parameter to /bin/bash to simulate how
# the command will be run by parallel_test --exec
# This also tests shell escaping of single quotes
shell_command = [
Expand Down
2 changes: 1 addition & 1 deletion spec/parallel_tests/test/runner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ def call(*args)
end
end

it "doesn't find bakup files with the same name as test files" do
it "doesn't find backup files with the same name as test files" do
with_files(['a/x_test.rb', 'a/x_test.rb.bak']) do |root|
expect(call(["#{root}/"])).to eq(
[
Expand Down

0 comments on commit 0ce8272

Please sign in to comment.