From 46eb6e3d58365ca1690aed53f11e59a60220a3ef Mon Sep 17 00:00:00 2001 From: 404 Date: Thu, 2 Aug 2012 14:23:43 +0800 Subject: [PATCH] upload_with_token spec --- spec/qiniu/rs_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/qiniu/rs_spec.rb b/spec/qiniu/rs_spec.rb index 578f5da..45fadaa 100755 --- a/spec/qiniu/rs_spec.rb +++ b/spec/qiniu/rs_spec.rb @@ -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__,