opencongress/opencongress — pull request #11 by dougcole (2012-02-04 21:48:47+00:00)
Title: set up rspec tests and travis-ci continuous integration

This pull request does several things:

* Update and modernize the rspec set up
* Create several "initial" specs to begin test coverage
* set up the repo for continuous integration for the rspec suite via travis-ci.org
* Delete the /test setup. It has not had any commits since 2009 and as is all the tests fail. I spend about six hours trying to get the tests to pass with little success. There are significant problems with the fixtures, mostly due to a lot of generated fixtures that won't load. Many of the tests are out of date or depend on missing fixtures that don't exist in the git history. I decided that it will be simpler to rewrite the tests from scratch rather than update the current test suite.

A few notes:

* After this is merged, we will need to set up push notifications to travis-ci for the opencongress user. The process is simple and documented here: http://about.travis-ci.org/docs/user/getting-started/ I have completed the configuration, I only need help with steps 1 & 2 for the official repository.
* There is a cucumber suite for opencongress as well - it isn't passing but this pull request doesn't address that, for now I've set up the travis-ci configs to ignore the cucumber features. I'll try and investigate the cucumber setup later and see what it will take to get that passing again.