Sha256: 6c912553aca1c1258f41ff8b2f612700bf20495175b4f2d22bd485b02c247c59
Contents?: true
Size: 185 Bytes
Versions: 1
Compression:
Stored size: 185 Bytes
Contents
RSpec.shared_examples_for("block_is_expected to raise error") do |*error_args| it "raises error #{error_args.inspect}" do block_is_expected.to(raise_error(*error_args)) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec-block_is_expected-1.0.6 | lib/rspec/block_is_expected/shared_examples/block_raises_error_examples.rb |