Examveda

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

D. Asserts that two objects are equal

Answer: Option C


Join The Discussion

Related Questions on Testing in Ruby (RSpec, MiniTest, etc.)