Commit a903b9fa by lanrion

updated spec_helper.rb

parent e8ee4f05
...@@ -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("your_app_name:weixin_authorize", :redis => redis) redis_with_ns = Redis::Namespace.new("weixin: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