RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Testing Rails 3 generators with RSpec

I just wrote an article showing how to test generators with RSpec the same way you can do with test unit. It’s a thin wrapper around Rails::Generators::TestCase and it’s released as a gem called generator_spec.

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in