Sha256: fe6b56ea98007ce595643b9283aac82a7b248a13930ec59a77a3cda112711710
Contents?: true
Size: 253 Bytes
Versions: 1
Compression:
Stored size: 253 Bytes
Contents
require 'spec_helper' module RSpec describe Expectations do it 'does not allow expectation failures to be caught by a bare rescue' do expect { expect(2).to eq(3) rescue nil }.to fail_matching("expected: 3") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-expectations-3.0.0.beta2 | spec/rspec/expectations_spec.rb |