Commit 7c07e087 by lanrion

clean codes for test

parent d517381b
# NOTE: the rspec should be test alonely.
require "spec_helper"
describe WeixinAuthorize::Client do
describe "#get access_token" do
it "return a access_token nil value before authenticate" do
......
require "spec_helper"
describe WeixinAuthorize::Api::Custom do
let(:text_message) do
"text Custom message"
......
require "spec_helper"
describe WeixinAuthorize::Api::Groups do
let(:group_name) do
......
require "spec_helper"
describe WeixinAuthorize::Api::Media do
let(:image_jpg_path) do
......
# encoding: utf-8
require "spec_helper"
describe WeixinAuthorize::Api::Menu do
it "can create a menu" do
......
require "spec_helper"
describe WeixinAuthorize::Api::Qrcode do
it "#create_qr_scene" do
......
require "spec_helper"
describe WeixinAuthorize::Api::User do
it "can get a weixin User info" do
user_info = $client.user(ENV["OPENID"])
......
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