Defines ‘throw_term’ assertion.
it do: expect(function).to throw_term
it do: expect(function).to throw_term(term)