Sha256: 8679d56d7c15716501accd794c0a4c09eede55a2257e01dd7ec13b3cbb98f3f9
Contents?: true
Size: 309 Bytes
Versions: 2
Compression:
Stored size: 309 Bytes
Contents
require 'spec_helper' describe Decorum::ChainStop do let(:chainstop) { Decorum::ChainStop.new } it 'throws self via :chain_stop on undefined method' do response = catch :chain_stop do chainstop.this_method_absolutely_doesnt_exist end expect(response).to be_equal(chainstop) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
decorum-0.5.1 | spec/unit/chain_stop_spec.rb |
decorum-0.5.0 | spec/unit/chain_stop_spec.rb |