Sha256: 185ed4befa0f6b3f308904bf93d1698bfbaa04915006a0c62c9f8e86cab1b80a
Contents?: true
Size: 329 Bytes
Versions: 8
Compression:
Stored size: 329 Bytes
Contents
require 'spec_helper' RSpec.describe Shoryuken do describe '.healthy?' do before do allow(Shoryuken::Runner).to receive(:instance).and_return(double(:instance, healthy?: :some_result)) end it 'delegates to the runner instance' do expect(described_class.healthy?).to eq(:some_result) end end end
Version data entries
8 entries across 8 versions & 1 rubygems