Running Specs
winton edited this page Jan 10, 2011
·
5 revisions
Contributions are always welcome.
gem install externals gem install rspec -v '<2' gem install rails -v '<3' gem install rails -v '<4' gem install sinatra -v '<2'
Sorry, I've only tested with MySQL. PostgreSQL help would be much appreciated.
gem install mysql gem install mysql2
git clone git@github.com:YOUR_NAME/acts_as_archive.git cd acts_as_archive
externals un
This will vendor the following gems:
Feel free to send pull requests for any of these projects.
cd spec rake db:drop db:create cd ../
spec/run
This essentially runs the following:
ACTIVERECORD=3 spec spec ACTIVERECORD=2 spec spec/acts_as_archive_spec.rb RAILS=2 spec spec/acts_as_archive_spec.rb RAILS=3 spec spec/acts_as_archive_spec.rb SINATRA=1 spec spec/acts_as_archive_spec.rb