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
7c07e087
Commit
7c07e087
authored
Feb 11, 2015
by
lanrion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clean codes for test
parent
d517381b
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
12 deletions
+0
-12
spec/1_fetch_access_token_spec.rb
+0
-1
spec/api/custom_spec.rb
+0
-2
spec/api/groups_spec.rb
+0
-1
spec/api/media_spec.rb
+0
-2
spec/api/menu_spec.rb
+0
-2
spec/api/qrcode_spec.rb
+0
-2
spec/api/user_spec.rb
+0
-2
No files found.
spec/1_fetch_access_token_spec.rb
View file @
7c07e087
# NOTE: the rspec should be test alonely.
# NOTE: the rspec should be test alonely.
require
"spec_helper"
describe
WeixinAuthorize
::
Client
do
describe
WeixinAuthorize
::
Client
do
describe
"#get access_token"
do
describe
"#get access_token"
do
it
"return a access_token nil value before authenticate"
do
it
"return a access_token nil value before authenticate"
do
...
...
spec/api/custom_spec.rb
View file @
7c07e087
require
"spec_helper"
describe
WeixinAuthorize
::
Api
::
Custom
do
describe
WeixinAuthorize
::
Api
::
Custom
do
let
(
:text_message
)
do
let
(
:text_message
)
do
"text Custom message"
"text Custom message"
...
...
spec/api/groups_spec.rb
View file @
7c07e087
require
"spec_helper"
describe
WeixinAuthorize
::
Api
::
Groups
do
describe
WeixinAuthorize
::
Api
::
Groups
do
let
(
:group_name
)
do
let
(
:group_name
)
do
...
...
spec/api/media_spec.rb
View file @
7c07e087
require
"spec_helper"
describe
WeixinAuthorize
::
Api
::
Media
do
describe
WeixinAuthorize
::
Api
::
Media
do
let
(
:image_jpg_path
)
do
let
(
:image_jpg_path
)
do
...
...
spec/api/menu_spec.rb
View file @
7c07e087
# encoding: utf-8
# encoding: utf-8
require
"spec_helper"
describe
WeixinAuthorize
::
Api
::
Menu
do
describe
WeixinAuthorize
::
Api
::
Menu
do
it
"can create a menu"
do
it
"can create a menu"
do
...
...
spec/api/qrcode_spec.rb
View file @
7c07e087
require
"spec_helper"
describe
WeixinAuthorize
::
Api
::
Qrcode
do
describe
WeixinAuthorize
::
Api
::
Qrcode
do
it
"#create_qr_scene"
do
it
"#create_qr_scene"
do
...
...
spec/api/user_spec.rb
View file @
7c07e087
require
"spec_helper"
describe
WeixinAuthorize
::
Api
::
User
do
describe
WeixinAuthorize
::
Api
::
User
do
it
"can get a weixin User info"
do
it
"can get a weixin User info"
do
user_info
=
$client
.
user
(
ENV
[
"OPENID"
])
user_info
=
$client
.
user
(
ENV
[
"OPENID"
])
...
...
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