apotonick/rspec-apotomo — pull request #7 by felipeik (2011-12-07 02:11:34+00:00)
Title: Spec generators

Hey Nick,

what do you think?

it was kind hard to find documentation about testing generators with rspec (I even don't know a lot with unit test)... but i found this:

http://stevehodgkiss.com/posts/testing-rails-3-generators-with-rspec

that used this gem:

https://github.com/stevehodgkiss/generator_spec

hope it's OK!

after this commit, it generates the full widget path and also generates all actions tests for that widget