Sha256: e1c3d697b28874185b687b80863079345761d97b9a5d7b0dfd87b3c9d0c7fb0b
Contents?: true
Size: 453 Bytes
Versions: 3
Compression:
Stored size: 453 Bytes
Contents
# frozen_string_literal: true require 'sigurd/signal_handler' RSpec.describe Sigurd::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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sigurd-0.0.3 | spec/signal_handler_spec.rb |
sigurd-0.0.2 | spec/signal_handler_spec.rb |
sigurd-0.0.1 | spec/signal_handler_spec.rb |