Sha256: ae60082ffbfc62a9fd0926b21be3154df3fef6628a65795752508ff9d067011c
Contents?: true
Size: 362 Bytes
Versions: 6
Compression:
Stored size: 362 Bytes
Contents
RSpec.describe Mutant::Isolation::None do describe '.call' do let(:object) { described_class.new } it 'return block value' do expect(object.call { :foo }).to be(:foo) end it 'wraps *all* exceptions' do expect { object.call { fail 'foo' } }.to raise_error( Mutant::Isolation::Error, 'foo' ) end end end
Version data entries
6 entries across 6 versions & 1 rubygems