A Admin • 833K Points Coach 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 Correct Answer - Option(C) Views: 20 Filed under category Ruby Hashtags: Share Manage Tags
Discusssion
Login to discuss.