{"id":79614,"library":"rspec-block-is-expected","title":"RSpec Block Is Expected","description":"Provides a `block_is_expected` helper for RSpec to test that a block raises an error.","status":"active","version":"1.0.6","language":"ruby","source_language":null,"source_url":"https://github.com/pboling/rspec-block_is_expected","tags":["rspec","testing","matchers","block"],"install":[{"cmd":"gem install rspec-block_is_expected","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'rspec-block_is_expected', '~> 1.0.6'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"RSpec","correct":"require 'rspec/block_is_expected'"}],"quickstart":{"code":"require 'rspec/block_is_expected'\nRSpec.describe 'example' do\n  subject { Integer(nil) }\n  it('raises') { block_is_expected.to raise_error(TypeError) }\nend","lang":"ruby","description":"Test that a block raises a specific error"},"warnings":[],"env_vars":null,"search_vec":"'block':2,7,17,24 'error':20 'expect':4,9 'helper':10 'matcher':23 'provid':5 'rais':18 'rspec':1,12,21 'test':14,22","created_at":"2026-06-18T04:56:12.522251+00:00","updated_at":"2026-06-18T04:56:12.522251+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/pboling/rspec-block_is_expected","github":"https://github.com/pboling/rspec-block_is_expected","docs":"http://www.rubydoc.info/gems/rspec-block_is_expected/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["testing"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-18","next_check":"2026-12-15","install_tag":null}}