Commit 5b0060fe by lanrion

removed authenticate method test

parent d3ba3fc5
......@@ -6,9 +6,9 @@ describe WeixinAuthorize::Client do
expect($client.access_token).to eq(nil)
end
it "return access_token after authenticate" do
$client.authenticate
expect($client.access_token).not_to eq(nil)
it "appid and appsecret shoud be valid" do
valid_info = $client.is_valid?
expect(valid_info).to eq(true)
end
it "return the same access_token in the same thing twice" do
......
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