Commit bfc6a7a0 by lanrion

updated spec_helper.rb

parent a2893085
...@@ -23,7 +23,7 @@ require "pry-rails" ...@@ -23,7 +23,7 @@ require "pry-rails"
redis = Redis.new(:host => "127.0.0.1",:port => "6379") redis = Redis.new(:host => "127.0.0.1",:port => "6379")
redis_with_ns = Redis::Namespace.new("weixin:weixin_authorize", :redis => redis) redis_with_ns = Redis::Namespace.new("weixin_#{Time.now.to_i}:weixin_authorize", :redis => redis)
WeixinAuthorize.configure do |config| WeixinAuthorize.configure do |config|
config.redis = redis_with_ns config.redis = redis_with_ns
end end
......
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