You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running a test where I'm expecting an exception eventually but rspec-eventually isn't working with it because it's failing due to the exception. Here's a simple example:
[1] pry()> expect {1/0}.to raise_exception(ZeroDivisionError)
=> true
[2] pry()> expect {1/0}.to eventually(raise_exception(ZeroDivisionError))
ZeroDivisionError: divided by 0
from (pry):2:in `/'
The text was updated successfully, but these errors were encountered:
I'm running a test where I'm expecting an exception eventually but rspec-eventually isn't working with it because it's failing due to the exception. Here's a simple example:
The text was updated successfully, but these errors were encountered: