advertisement

Print

Cookin' with Ruby on Rails - More Designing for Testability
Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11

CB: OK, then. You ready to tackle the recipe controller tests?

Paul: Absolutely. They're pretty much just going to be a clone of these at this point. Here's the category_controller_test.rb file as it stands right now.

our category_controller_test
Figure 30

CB: OK. That looks great. Let's give it one last run and make sure we're good here before we get to work on the recipe_controller_test.

ruby test\functional\category_controller_test.rb

final run of category_controller_test
Figure 31

Pages: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11

Next Pagearrow