Sha256: e410b34c0e64adf178b05a8e40425eff0286241d1f3d7bdbb049c91158b073b6

Contents?: true

Size: 1.27 KB

Versions: 7

Compression:

Stored size: 1.27 KB

Contents

Description:
    Begins Test-First Teaching exercises adapted from Chapter 07 of the RailsTutorial by Michael Hartl.

    Chapter 07 is the first chapter covered, because the application built herein is an adaptation from
    RailsTutorial and uses the Devise authentication gem, rather than the home-grown solution from RailsTutorial.

    It is assumed that this generator is run in an freshly-created bare-bones Rails project.

    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 chapter07: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 07 of the RailsTutorial.

    When you're done, and all tests pass, or you just want to skip ahead, run:

    rails generate chapter07: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

7 entries across 7 versions & 2 rubygems

Version Path
tft_rails_dbc-0.1.3 lib/generators/chapter07/begin/USAGE
tft_rails_dbc-0.1.1 lib/generators/chapter07/begin/USAGE
tft_rails_dbc-0.1 lib/generators/chapter07/begin/USAGE
tft_rails-0.6.2 lib/generators/chapter07/begin/USAGE
tft_rails-0.6.1 lib/generators/chapter07/begin/USAGE
tft_rails-0.6.0 lib/generators/chapter07/begin/USAGE
tft_rails-0.5.1 lib/generators/chapter07/begin/USAGE