[rspec-users] RSpec 2 add-on for testing and specifying generators - initial release

David Chelimsky dchelimsky at gmail.com
Tue Aug 3 23:22:22 EDT 2010

On Aug 3, 2010, at 3:06 PM, Kristian Mandrup wrote:

> http://github.com/kristianmandrup/rspec_for_generators
> When creating Rails generators I noticed that the only option I could
> find for testing was to use a special Rails TestCase class created
> specifically for use with Test Unit.
> So I thought I could wrap it to be used with RSpec 2 instead. I now
> have a working first release with room for lots of improvements!  But
> at least it seems to work fine for now, as demonstrated by a small
> RSpec 2 test suite that comes with it.
> Note: This library is NOT in any way an official RSpec 2 release of
> any sort. I only use the RSpec name to indicate that it is an add-on
> component for RSpec 2. That it can be used with RSpec 2.
> Not sure what other convention there would be to indicate this?
> Maybe I should rename it to something like the following to make it
> more clear?
> rspec2-addon-for-generators

Ben Mabey called his email-spec. So maybe generator-spec?

> Hope you find it useful as a starting point. Free feel to patch it,
> refactor etc.
> Enjoy!
> Kristian
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users

More information about the rspec-users mailing list