Sha256: 2d11993d668a9e5077fa42a0ac5e11bed7418e6b94a7283201ab4cf836ff2ad0
Contents?: true
Size: 587 Bytes
Versions: 5
Compression:
Stored size: 587 Bytes
Contents
RSpec.describe Mutest::Parallel::Driver do let(:object) { described_class.new(binding) } let(:binding) { instance_double(Mutest::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 { is_expected.to be(value) } end end
Version data entries
5 entries across 5 versions & 1 rubygems