Commit 280fd678 by lang1pal

#26 -

parent 36e5c583
...@@ -20,6 +20,5 @@ describe WeixinAuthorize::Api::Qrcode do ...@@ -20,6 +20,5 @@ describe WeixinAuthorize::Api::Qrcode do
qr_url = $client.qr_code_url(response.result["ticket"]) qr_url = $client.qr_code_url(response.result["ticket"])
expect(response.code).to eq(WeixinAuthorize::OK_CODE) expect(response.code).to eq(WeixinAuthorize::OK_CODE)
expect(qr_url).to match(/(\S+\.(com|net|org|edu|gov)(\/\S+)?)/) expect(qr_url).to match(/(\S+\.(com|net|org|edu|gov)(\/\S+)?)/)
# expect(qr_url).to include("mp.weixin.qq.com")
end end
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