-
Notifications
You must be signed in to change notification settings - Fork 87
Running Specs
xxx edited this page Nov 21, 2011
·
5 revisions
Contributions are always welcome.
gem install externals gem install active_wrapper-solo gem install rspec -v '~>1' gem install rails -v '~>2' gem install rails -v '~>3.0' gem install sinatra -v '~>1'
I've only tested with MySQL. PostgreSQL help would be much appreciated.
gem install mysql gem install mysql2 # version 0.2.x for Rails 3.0, 0.3.x for Rails 3.1
git clone [email protected]: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