allourideas/pairwise-api — pull request #22 by vitorbaptista (2012-08-16 20:48:13+00:00)
Title: Fixes Redis' mocking.

We need to require mock_redis before calling MockRedis.new inside
config/environments/*.rb. This because, inside that, Bundler haven't required
our environments' gems yet.

This patch moves that to spec/spec_helper.rb and features/support/env.rb. This
fixes this problem, and also mocks Redis even if we don't run the tests through
Rake.

I also forgot to commit the Gemfile.lock. Adding this here.