Q. Which method is commonly used to assert that a certain exception is raised in RSpec?
β
Correct Answer: (C)
expect { ... }.to raise_error(ExceptionClass)
You must be Logged in to update hint/solution