A Haml Scaffolding Generator for RSpec
Ruby
Switch branches/tags
Nothing to show
Pull request Compare This branch is 7 commits behind dfischer:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
generators
.gitignore
README
install.rb

README

RSpec Haml Scaffold Generator
====

This is an uber version of the RSpec Scaffold Generator, the following things have been added:

Support for Haml instead of erb
Nested routes (nested tests/migrations)

Examples:

  ./script generate rspec_haml_scaffold post # no attributes, view will be anemic
  ./script generate rspec_haml_scaffold post attribute:string attribute:boolean # this is actually broken at the moment, don't do this !!! Feel free to patch it