Cool, thanks a lot for the examples, I'm amazed by how clean and
readable these specs are.

On Nov 30, 4:22 pm, Frederick Cheung <[email protected]>
wrote:
> On Nov 30, 10:56 am, Michael Erasmus <[email protected]> wrote:
>
> > I would like to experiment with writing a my own generator that I
> > might want to eventually bundle into it's own gem. What I would like
> > to know if it's feasible or considered best practice to write specs/
> > tests for your generator, and if so, any tips or examples you can
> > point me to?
>
> You certainly can test them, for example here are the specs for the
> rspec 
> generators:https://github.com/rspec/rspec-rails/tree/master/spec/generators
>
> Fred

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to