πŸ“Š Ruby
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
πŸ’¬ Discuss
βœ… Correct Answer: (C) Provides a target object for the example group

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
146
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate