Sha256: 15c2c6d76c1e62c9b7da773469c74c35619848050d8b2bfdc579f9c59595ea27
Contents?: true
Size: 273 Bytes
Versions: 2
Compression:
Stored size: 273 Bytes
Contents
shared_context 'with result' do before do allow(subject).to receive(:called!) subject.on do |event, *data| subject.called! event, *data end subject.on :result do |result| @result = result end end let(:result) do @result end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-link-checker-0.2.0 | spec/support/with_result.rb |
ruby-link-checker-0.1.0 | spec/support/with_result.rb |