Commit 70602fae by lang1pal

#26 fix

parent 280fd678
...@@ -12,7 +12,7 @@ describe WeixinAuthorize::Api::Groups do ...@@ -12,7 +12,7 @@ describe WeixinAuthorize::Api::Groups do
it "create a group" do it "create a group" do
response = $client.create_group(group_name) response = $client.create_group(group_name)
if response.code == WeixinAuthorize::OK_CODE if response.code == WeixinAuthorize::OK_CODE
expect(response["group"]["name"]).to eq(group_name) expect(response.result["group"]["name"]).to eq(group_name)
else else
expect(response.code).to eq(-1) expect(response.code).to eq(-1)
puts "SB WEIXIN says: system error" puts "SB WEIXIN says: system error"
......
...@@ -37,9 +37,9 @@ SimpleCov.start ...@@ -37,9 +37,9 @@ SimpleCov.start
ENV['CODECLIMATE_REPO_TOKEN'] = "c91fecbbd9e414e7cc3ad7a7d99207145de0ac65a3368de09e8c19295343d399" ENV['CODECLIMATE_REPO_TOKEN'] = "c91fecbbd9e414e7cc3ad7a7d99207145de0ac65a3368de09e8c19295343d399"
CodeClimate::TestReporter.start CodeClimate::TestReporter.start
ENV["APPID"]="wx986f04063d341d04" ENV["APPID"]="wxe371e0960de5426a"
ENV["APPSECRET"]="1a941cd88cb4579ba98ec06b6813af03" ENV["APPSECRET"]="572b93d3d20aea242692a804243a141b"
ENV["OPENID"]="o9k6BuB0kydAcPTc7sPxppB1GQqA" ENV["OPENID"]="oEEoyuEasxionjR5HygmEOQGwRcw"
# Comment to test for ClientStorage # Comment to test for ClientStorage
redis = Redis.new(:host => "127.0.0.1",:port => "6379") redis = Redis.new(:host => "127.0.0.1",:port => "6379")
......
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