spec/spec_helper.rb in redis-store-0.3.7 vs spec/spec_helper.rb in redis-store-0.3.8
- old
+ new
@@ -1,17 +1,23 @@
-$: << File.join(File.dirname(__FILE__), "/../lib")
-require "vendor/gems/environment"
+$:.unshift(File.expand_path(File.join(File.dirname(__FILE__), "/../lib")))
+ARGV << "-b"
+require "rubygems"
+require "bundler"
+Bundler.setup
+
+#require "vendor/gems/environment"
require "ostruct"
require "spec"
+require "spec/autorun"
require "redis"
require "merb"
require "rack/cache"
require "rack/cache/metastore"
require "rack/cache/entitystore"
require "redis-store"
-require "activesupport"
+require "active_support"
+require "action_controller/session/abstract_store"
require "cache/rails/redis_store"
+require "rack/session/rails"
require "cache/sinatra/redis_store"
-class Redis; attr_reader :host, :port, :db end
$DEBUG = ENV["DEBUG"] === "true"
-