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?

  1. 5
  2. 4
  3. 3
  4. 2

Answer: C) 3

Explanation:

To make testing routes easier, Rails comes with three built-in assertions:

  • assert_generates
  • assert_recognizes
  • assert_routing

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.