Running Tests
If you want to run the unit tests you'll need to fire up the rails application that provides some services so our tests can do real stuff. This is a rails 3.0 application which uses an sqlite3 database. You'll have to get the proper gems installed and working. By the way, if you aren't using RVM yet, best get on it. Gemsets are very useful, and installation and switching between various ruby versions is painless. Anyway, once you install rails 3.0 you can do:
$ cd src/test/service-rails3 $ rails server
You now have the services running at http://localhost:3000. Keep that running and now you can do:
$ mvn test
