Vidyalelo
Ruby Programming · Q26

Testing in Ruby (RSpec, MiniTest, etc.)

Programming · Ruby Programming · question 26

Q26

What is the purpose of the should syntax in RSpec?

A.
Provides a way to define before and after hooks
B.
Provides a way to define shared examples
C.
Provides a way to define custom matchers
D.
Provides a more readable way to express expectations
Answer

Answer: Option D

Solution

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