sdruby/sdruby — pull request #55 by rubiety (2012-02-24 06:20:41+00:00)
Title: Implementation of Integration Tests with RSpec, Capybara, Spork, and Guard (Fixes #52)

This is a build-out of some integration tests (contained in spec/acceptance) using RSpec + Capybara. I've also added spork and Guard for a better testing workflow.

Note that sadly I've had to disable the Recaptcha from operating in test environment for now. Since integration tests with Capybara do not directly have access to Rails controllers, it is not possible to stub out the recapcha methods as it is in the controller specs. A cleaner implementation of this probably could be done making use of vcr + webmock, but that's for another day.

Additionally, the features directory (containing no tests) has been removed (at one point we were going to build out integration tests with Cucumber, but that never moved forward).