Sha256: 01873c77cc5213e3cb32f058e272c2ed289326ea6b8218d18612442c204520c1

Contents?: true

Size: 518 Bytes

Versions: 12

Compression:

Stored size: 518 Bytes

Contents

test - Create a new unit test in your SproutCore client.

USAGE:

  ./script/generate test client_name/test_name [CLASS]

DISCUSSION:

This generator will create a new SproutCore unit test in your client.  You should pass as the first parameter your client directory name/the test you want to create.  For example:

./script/generate test todos/task

defines a new test called called "Task" in the file clients/todos/tests/task.rhtml.

The default test simply returns true.  Add your own tests to do something useful.

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
sproutcore-0.9.12 sc_generators/test/USAGE
sproutcore-0.9.15 sc_generators/test/USAGE
sproutcore-0.9.14 sc_generators/test/USAGE
sproutcore-0.9.13 sc_generators/test/USAGE
sproutcore-0.9.16 sc_generators/test/USAGE
sproutcore-0.9.19 sc_generators/test/USAGE
sproutcore-0.9.18 sc_generators/test/USAGE
sproutcore-0.9.17 sc_generators/test/USAGE
sproutcore-0.9.22 sc_generators/test/USAGE
sproutcore-0.9.20 sc_generators/test/USAGE
sproutcore-0.9.21 sc_generators/test/USAGE
sproutcore-0.9.23 sc_generators/test/USAGE