Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Running Specs

winton edited this page · 5 revisions
Clone this wiki locally

Contributions are always welcome.

Install gems

gem install externals
gem install rspec -v '<2'
gem install rails -v '<3'
gem install rails -v '<4'
gem install sinatra -v '<2'

Database adapters

Sorry, I've only tested with MySQL. PostgreSQL help would be much appreciated.

gem install mysql
gem install mysql2

Fork the project

Fork the project.

git clone git@github.com:YOUR_NAME/acts_as_archive.git
cd acts_as_archive

Vendor supporting gems

externals un

This will vendor the following gems:

Feel free to send pull requests for any of these projects.

Create the test db

cd spec
rake db:drop db:create
cd ../

Run the specs

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
Something went wrong with that request. Please try again.