Commit 5b0060fe by lanrion

removed authenticate method test

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