update site

This commit is contained in:
longbai
2014-06-20 20:39:51 +08:00
parent 8f11a43123
commit e2d8a07882
+2 -2
View File
@@ -7,7 +7,7 @@ module Qiniu
module RS
describe QboxToken do
before :all do
@qbox_token = QboxToken.new(:url => 'www.qiniutek.com?key1=value1',
@qbox_token = QboxToken.new(:url => 'www.qiniu.com?key1=value1',
:params => { :key2 => 'value2' })
@qbox_token.access_key = 'access_key'
@qbox_token.secret_key = 'secret_key'
@@ -21,7 +21,7 @@ module Qiniu
context "#generate_signature" do
it "should generate signature" do
@qbox_token.generate_signature.should == "www.qiniutek.com?key1=value1\nkey2=value2"
@qbox_token.generate_signature.should == "www.qiniu.com?key1=value1\nkey2=value2"
end
end
end