Vidyalelo
Ruby Programming · Q25

Testing in Ruby (RSpec, MiniTest, etc.)

Programming · Ruby Programming · question 25

Q25

What is the purpose of the assert_empty method in MiniTest?

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

Answer: Option A

Solution

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