Archive for September, 2008

How to add initial files of RSpec for a new project

Posted in Ruby on Rails with tags on September 10, 2008 by harryche2008

Follow these steps and you will have a basic skeleton of rspec workspace:
rails stuff
cd stuff
ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec
ruby script/plugin install svn://rubyforge.org/var/svn/rspec/tags/CURRENT/rspec_on_rails
script/generate rspec
script/generate rspec_scaffold Thing name:string