upload_with_token spec

This commit is contained in:
404
2012-08-02 14:23:43 +08:00
parent 8e86a92080
commit 46eb6e3d58
+1 -1
View File
@@ -124,7 +124,7 @@ module Qiniu
context ".upload_with_token" do
it "should works" do
uptoken_opts = {:scope => @bucket, :expires_in => 3600, :callback_url => "http://localhost:4567"}
uptoken_opts = {:scope => @bucket, :expires_in => 3600}
upload_opts = {
:uptoken => Qiniu::RS.generate_upload_token(uptoken_opts),
:file => __FILE__,