# Configure Rails Environment ENV["RAILS_ENV"] ||= 'test' require File.expand_path("../dummy/config/environment.rb", __FILE__) require 'rspec/rails' require "rails/test_help" dir = File.dirname(File.expand_path(__FILE__)) $LOAD_PATH.unshift dir + '/../lib' $LOAD_PATH.unshift dir + '/support' require 'seymour' require 'test_redis' require 'factory_girl_rails' RSpec.configure do |config| config.mock_with :rspec end TestRedis::Server.start!(dir)