Vidyalelo
Ruby Programming · Q39

Testing in Ruby (RSpec, MiniTest, etc.)

Programming · Ruby Programming · question 39

Q39

What is the purpose of the assert_predicate method in MiniTest?

A.
Asserts that a condition is false
B.
Asserts that a condition is true
C.
Asserts that an object matches a specific predicate
Answer
D.
Asserts that two objects are equal

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board