Class: Brut::SpecSupport::Matchers::BeABug

Inherits:
Object
  • Object
show all
Defined in:
lib/brut/spec_support/matchers/be_a_bug.rb

Overview

Block-based matcher that expects the blog to raise a Framework::Errors::Bug.

Examples:

expect {
  SomeClass.new(value: :invalid)
}.to be_a_bug