Sha256: 69568cf03c1875ea87167252083fe58b6ce06504e3d550de0ba735148ef8f81e
Contents?: true
Size: 427 Bytes
Versions: 36
Compression:
Stored size: 427 Bytes
Contents
# frozen_string_literal: true RSpec.describe Deimos::Utils::SignalHandler do describe '#run!' do it 'starts and stops the runner' do runner = TestRunners::TestRunner.new expect(runner).to receive(:start) expect(runner).to receive(:stop) signal_handler = described_class.new(runner) signal_handler.send(:unblock, described_class::SIGNALS.first) signal_handler.run! end end end
Version data entries
36 entries across 36 versions & 2 rubygems