Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weixin_authorize
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ikcrm_common
weixin_authorize
Commits
36e5c583
Commit
36e5c583
authored
May 05, 2014
by
lang1pal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#26 change include to regex
parent
6b30b859
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
spec/api/qrcode_spec.rb
+2
-1
No files found.
spec/api/qrcode_spec.rb
View file @
36e5c583
...
...
@@ -19,6 +19,7 @@ describe WeixinAuthorize::Api::Qrcode do
response
=
$client
.
create_qr_limit_scene
(
"1234"
)
qr_url
=
$client
.
qr_code_url
(
response
.
result
[
"ticket"
])
expect
(
response
.
code
).
to
eq
(
WeixinAuthorize
::
OK_CODE
)
expect
(
qr_url
).
to
include
(
"mp.weixin.qq.com"
)
expect
(
qr_url
).
to
match
(
/(\S+\.(com|net|org|edu|gov)(\/\S+)?)/
)
# expect(qr_url).to include("mp.weixin.qq.com")
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment