Sha256: c4050390ce904d95453a05f4efc4f64d755886b23d8a0df675d4927ac6cdb91d
Contents?: true
Size: 579 Bytes
Versions: 8
Compression:
Stored size: 579 Bytes
Contents
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