From e9d5dfa9af356d20b0858bd2985b49bd113f9697 Mon Sep 17 00:00:00 2001 From: Anton Davydov Date: Mon, 6 Jul 2015 21:36:39 +0300 Subject: [PATCH] Fix all typos [skip ci] --- lib/mutant/parallel.rb | 2 +- lib/mutant/runner.rb | 2 +- spec/unit/mutant/expression_spec.rb | 4 ++-- spec/unit/mutant/parallel/worker_spec.rb | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/mutant/parallel.rb b/lib/mutant/parallel.rb index 6d370b92..7d5e07b3 100644 --- a/lib/mutant/parallel.rb +++ b/lib/mutant/parallel.rb @@ -1,5 +1,5 @@ module Mutant - # Parallel excecution engine of arbitrary payloads + # Parallel execution engine of arbitrary payloads module Parallel # Driver for parallelized execution diff --git a/lib/mutant/runner.rb b/lib/mutant/runner.rb index 6c82d151..a914ba06 100644 --- a/lib/mutant/runner.rb +++ b/lib/mutant/runner.rb @@ -64,7 +64,7 @@ module Mutant # Return mutation test config # - # @return [Parallell::Config] + # @return [Parallel::Config] # # @api private # diff --git a/spec/unit/mutant/expression_spec.rb b/spec/unit/mutant/expression_spec.rb index 51d35a08..655ead73 100644 --- a/spec/unit/mutant/expression_spec.rb +++ b/spec/unit/mutant/expression_spec.rb @@ -32,13 +32,13 @@ RSpec.describe Mutant::Expression do subject { object.try_parse(input) } - context 'on succesful parse' do + context 'on successful parse' do let(:input) { 'foo' } it { should eql(object.new(foo: 'foo')) } end - context 'on unsuccesful parse' do + context 'on unsuccessful parse' do let(:input) { 'bar' } it { should be(nil) } diff --git a/spec/unit/mutant/parallel/worker_spec.rb b/spec/unit/mutant/parallel/worker_spec.rb index a40dac97..503862ae 100644 --- a/spec/unit/mutant/parallel/worker_spec.rb +++ b/spec/unit/mutant/parallel/worker_spec.rb @@ -27,7 +27,7 @@ RSpec.describe Mutant::Parallel::Worker do let(:actor_names) { [:worker] } - context 'when receving :job command' do + context 'when receiving :job command' do before do expect(processor).to receive(:call).with(payload).and_return(result_payload)