πŸ“Š Ruby
Q. What is the purpose of the be_a matcher in RSpec?
  • (A) Checks if an object is equal to another object
  • (B) Checks if a method is called with the correct arguments
  • (C) Checks if an object is an instance of a certain class
  • (D) Checks if a value meets certain conditions
πŸ’¬ Discuss
βœ… Correct Answer: (C) Checks if an object is an instance of a certain class

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

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