diff options
author | Dino Maric <dino.onex@gmail.com> | 2018-12-15 13:41:23 +0100 |
---|---|---|
committer | Dino Maric <dino.onex@gmail.com> | 2018-12-15 16:33:39 +0100 |
commit | 8415a6c5cf883f7ce6fe93b80ec99072fb04be83 (patch) | |
tree | 17a4e88934c3f9dee74ef9ce880acb3d8869645e /lib/generators/rails/USAGE | |
parent | 749e923539075eef407e5d9b8c7c151a3b3171d4 (diff) | |
download | rails-8415a6c5cf883f7ce6fe93b80ec99072fb04be83.tar.gz rails-8415a6c5cf883f7ce6fe93b80ec99072fb04be83.tar.bz2 rails-8415a6c5cf883f7ce6fe93b80ec99072fb04be83.zip |
Fix Rails generators
1.Don't generate ApplicationMailboxTest when executing installer
2. Hookup test_unit, so console doesn't throw errors
Diffstat (limited to 'lib/generators/rails/USAGE')
-rw-r--r-- | lib/generators/rails/USAGE | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/generators/rails/USAGE b/lib/generators/rails/USAGE new file mode 100644 index 0000000000..d679dd63ae --- /dev/null +++ b/lib/generators/rails/USAGE @@ -0,0 +1,12 @@ +Description: +============ + Stubs out a new mailbox class in app/mailboxes and invokes your template + engine and test framework generators. + +Example: +======== + rails generate mailbox inbox + + creates a InboxMailbox class and test: + Mailbox: app/mailboxes/inbox_mailbox.rb + Test: test/mailboxes/inbox_mailbox_test.rb |