Home »
MCQs »
Ruby on Rails MCQs
Rails offers how many built-in assertions which are designed to make testing routes simpler?
32. Rails offers how many built-in assertions which are designed to make testing routes simpler?
- 5
- 4
- 3
- 2
Answer: C) 3
Explanation:
To make testing routes easier, Rails comes with three built-in assertions:
- assert_generates
- assert_recognizes
- assert_routing