Commit ea2e2a8f by lanrion

added redis-namespace for test

parent 6c282382
...@@ -19,8 +19,6 @@ require "multi_json" ...@@ -19,8 +19,6 @@ require "multi_json"
require "redis" require "redis"
require "redis-namespace" require "redis-namespace"
require "pry-rails"
redis = Redis.new(:host => "127.0.0.1",:port => "6379") redis = Redis.new(:host => "127.0.0.1",:port => "6379")
namespace = "weixin_test:weixin_authorize" namespace = "weixin_test:weixin_authorize"
......
...@@ -24,6 +24,7 @@ Gem::Specification.new do |spec| ...@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "bundler", "~> 1.3" spec.add_development_dependency "bundler", "~> 1.3"
spec.add_development_dependency "rake" spec.add_development_dependency "rake"
spec.add_development_dependency "redis-namespace", "~> 1.4.1"
spec.add_development_dependency "rspec", "~> 3.0.0.beta1" spec.add_development_dependency "rspec", "~> 3.0.0.beta1"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment