Vidyalelo
Ruby Programming · Q28

Testing in Ruby (RSpec, MiniTest, etc.)

Programming · Ruby Programming · question 28

Q28

What is the purpose of the assert_match method in MiniTest?

A.
Asserts that a condition is true
B.
Asserts that a string matches a regular expression
Answer
C.
Asserts that a condition is false
D.
None of the above

Answer: Option B

Solution

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