Sha256: a9ccd7853b6f79ae6f6f490d749ae22341b7ea0a440a6d1f7e2d9a1156644133
Contents?: true
Size: 1.15 KB
Versions: 1
Compression:
Stored size: 1.15 KB
Contents
Description: Begins Test-First Teaching exercises adapted from Chapter 08 of the RailsTutorial by Michael Hartl. It is assumed that this generator is run after the exercises for Chapter 07 have been completed, and the solutions are implemented. Successive chapters are expected to be run sequentially. Each chapter's generators comes with a delta to the next chapter, in two phase, the "begin" one will create tests, the "finish" one includes the solution files. If all tests pass, the "finish" phase is optional. Example: rails generate chapter08:begin This copies new tests into the project, which are failing. The student's task is to write code to make the test pass. The material covered by the tests is consistent with Chapter 08 of the RailsTutorial, however adapted for Devise as authentication solution. When you're done, and all tests pass, or you just want to skip ahead, run: rails generate chapter08:solutions This will copy solutions files into the application tree. If you already have a solution file, you'll be prompted whether you want to overwrite your file, see the difference, or keep your file.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tft_rails-0.5.1 | lib/generators/chapter08_09/begin/USAGE |