Raise error with flexmock?

I am trying to raise a Timeout::Error with a spec but can’t seem to get
flexmock to raise the error. I need flexmock to raise the error for a
method called check_phone_against_service_objects.

heres the line of code that sets up flexmock raise error:

This not raising the error when the line of code is ran.

any ideas?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs