Sha256: 2df95edf9f4032335712b30fa437193e8acc8b803aa6c6ecb4c9d29b3ec6b5d4
Contents?: true
Size: 610 Bytes
Versions: 8
Compression:
Stored size: 610 Bytes
Contents
# frozen_string_literal: true RSpec.describe Mutant::Parallel::Driver do let(:object) { described_class.new(binding) } let(:binding) { instance_double(Mutant::Actor::Binding) } let(:value) { instance_double(Object, 'value') } describe '#stop' do subject { object.stop } before do expect(binding).to receive(:call).with(:stop) end it_should_behave_like 'a command method' end describe '#status' do subject { object.status } before do expect(binding).to receive(:call).with(:status).and_return(value) end it { should be(value) } end end
Version data entries
8 entries across 8 versions & 1 rubygems