{"id":90413,"library":"rspec-expect-error","title":"RSpec Expect Error","description":"Provides a wrapper around expect {}.to raise_error.","status":"active","version":"0.2.0","language":"ruby","source_language":null,"source_url":"https://github.com/envygeeks/rspec-expect_error","tags":["rspec","testing","error","expectation"],"install":[{"cmd":"gem install rspec-expect_error","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'rspec-expect_error', '~> 0.2.0'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"RSpec::ExpectError","correct":"require 'rspec/expect_error'"}],"quickstart":{"code":"require 'rspec/expect_error'\nRSpec.describe 'example' do\n  it 'raises error' do\n    expect { raise 'boom' }.to raise_error('boom')\n  end\nend","lang":"ruby","description":"Use expect_error in RSpec tests"},"warnings":[],"env_vars":null,"search_vec":"'around':7 'error':3,11,14 'expect':2,8,15 'provid':4 'rais':10 'rspec':1,12 'test':13 'wrapper':6","created_at":"2026-06-19T09:02:56.371544+00:00","updated_at":"2026-06-19T09:02:56.371544+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/envygeeks/rspec-expect_error","github":"https://github.com/envygeeks/rspec-expect_error","docs":"http://www.rubydoc.info/gems/rspec-expect_error/","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-19","next_check":"2026-12-16","install_tag":null}}