commit
3ae0fce484
4 changed files with 5 additions and 5 deletions
|
@ -1,5 +1,5 @@
|
||||||
module Mutant
|
module Mutant
|
||||||
# Parallel excecution engine of arbitrary payloads
|
# Parallel execution engine of arbitrary payloads
|
||||||
module Parallel
|
module Parallel
|
||||||
|
|
||||||
# Driver for parallelized execution
|
# Driver for parallelized execution
|
||||||
|
|
|
@ -64,7 +64,7 @@ module Mutant
|
||||||
|
|
||||||
# Return mutation test config
|
# Return mutation test config
|
||||||
#
|
#
|
||||||
# @return [Parallell::Config]
|
# @return [Parallel::Config]
|
||||||
#
|
#
|
||||||
# @api private
|
# @api private
|
||||||
#
|
#
|
||||||
|
|
|
@ -32,13 +32,13 @@ RSpec.describe Mutant::Expression do
|
||||||
|
|
||||||
subject { object.try_parse(input) }
|
subject { object.try_parse(input) }
|
||||||
|
|
||||||
context 'on succesful parse' do
|
context 'on successful parse' do
|
||||||
let(:input) { 'foo' }
|
let(:input) { 'foo' }
|
||||||
|
|
||||||
it { should eql(object.new(foo: 'foo')) }
|
it { should eql(object.new(foo: 'foo')) }
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'on unsuccesful parse' do
|
context 'on unsuccessful parse' do
|
||||||
let(:input) { 'bar' }
|
let(:input) { 'bar' }
|
||||||
|
|
||||||
it { should be(nil) }
|
it { should be(nil) }
|
||||||
|
|
|
@ -27,7 +27,7 @@ RSpec.describe Mutant::Parallel::Worker do
|
||||||
|
|
||||||
let(:actor_names) { [:worker] }
|
let(:actor_names) { [:worker] }
|
||||||
|
|
||||||
context 'when receving :job command' do
|
context 'when receiving :job command' do
|
||||||
|
|
||||||
before do
|
before do
|
||||||
expect(processor).to receive(:call).with(payload).and_return(result_payload)
|
expect(processor).to receive(:call).with(payload).and_return(result_payload)
|
||||||
|
|
Loading…
Reference in a new issue