Friday, October 29, 2010

Rspec

$ jruby -S gem install rspec -v=1.1.12
$ spec -v
rspec 1.1.12
$ RAILS_ENV=test jruby -S rake db:test:prepare
$ RAILS_ENV=test jruby -S rake db:migrate


$ RAILS_ENV=development jruby -S rake db:migrate:redo VERSION=20101027194336


$ RAILS_ENV=development jruby -S rake db:rollback STEP=5


http://cheat.errtheblog.com/s/rspec/

http://guides.rubyonrails.org/migrations.html

No comments: