spec/unit/mutant/runner/worker_spec.rb in mutant-0.7.1 vs spec/unit/mutant/runner/worker_spec.rb in mutant-0.7.2

- old
+ new

@@ -1,10 +1,10 @@ RSpec.describe Mutant::Runner::Worker do setup_shared_context - let(:actor) { actor_env.actor(:worker) } - let(:parent) { actor_env.actor(:parent).sender } + let(:actor) { actor_env.mailbox(:worker) } + let(:parent) { actor_env.mailbox(:parent).sender } before do message_sequence.add(:parent, :ready, actor.sender) end @@ -42,10 +42,9 @@ let(:job) { Mutant::Runner::Job.new(index: index, mutation: mutation) } let(:mutation_result) do Mutant::Result::Mutation.new( mutation: mutation, - index: job.index, test_result: test_result ) end it 'signals ready and status to parent' do