I'm currently looking into writing specs for my helpers for my 1st
merb app, and i've looked through the merb-helpers' spec/
merb_helpers_form_spec.rb for info on how to write such helper specs.

According to comments within, to start writing specs for
ExampleHelper, i need to:

Task 1. create a spec/fixture/app/controllers/specs_controller.rb
Task 2. create a corresponding spec/fixture/app/controllers/
example_helper.rb with class ExampleHelperSpecs
Task 3. create a corresponding spec/fixture/app/views/
example_helper_specs/view_name.html.erb

The above seem pretty standard, and:
- Task 1 can probably be done by 'merb-gen app'
- Task 2-3 can be achieved by 'merb-gen resource', 'merb-gen helper' &
'merb-gen controller'

Any thoughts ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"merb" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/merb?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to