Sha256: 7cf638f452c484a36c235f592adf37672b069b4419c9a695e121405f637dac62
Contents?: true
Size: 393 Bytes
Versions: 6
Compression:
Stored size: 393 Bytes
Contents
# frozen_string_literal: true 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