Q. Which assertion method is commonly used in RSpec for testing if an object responds to a method?
β
Correct Answer: (A)
expect(object).to respond_to(:method)
You must be Logged in to update hint/solution