M

Mr. Dubey • 53.48K Points
Coach

Q. What is the purpose of a subject block in RSpec?

  • (A) Records the interactions between objects
  • (B) Overrides the behavior of a method to return a specific value
  • (C) Provides a target object for the example group
  • (D) Defines a memoized helper method that can be used in examples
  • Correct Answer - Option(C)
  • Views: 57
  • Filed under category Ruby

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.


Question analytics