r_c, meet RSpec 2

Posted by james
on Friday, June 20

Jonathan Barket just sent me a patch that gets resource_controller's scaffold_resource generator to spit out RSpec specs! I quickly merged it in to master, and wanted to announce it to the world, since it's something I've been hoping to get added to the plugin for a while.

r_c's scaffold_resource generator now supports vanilla test/unit, Shoulda, and RSpec for tests, and erb, and haml for templating. It will sense which of those plugins or gems you have installed in your app, and generate accordingly — it's absolutely 0 configuration.

So, if you're an RSpec user, grab the latest master from github, and get generating! :)

Comments

Leave a response

  1. Lucas EFeJune 20, 2008 @ 11:10 AM

    Great, James, and thanks to Jonathan!

    Cheers Lucas

  2. Sean SchofieldJune 20, 2008 @ 11:46 AM

    Can't wait to try it.

Comment






Clicky Web Analytics