From 3b58147e70242726e7c3c41c73ace4f4276aa162 Mon Sep 17 00:00:00 2001 From: 404 Date: Mon, 13 Aug 2012 23:42:35 +0800 Subject: [PATCH] rs spec --- spec/qiniu/rs_spec.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/qiniu/rs_spec.rb b/spec/qiniu/rs_spec.rb index 45fadaa..a0c48fc 100755 --- a/spec/qiniu/rs_spec.rb +++ b/spec/qiniu/rs_spec.rb @@ -45,7 +45,7 @@ module Qiniu context ".set_separator" do it "should works" do - result = Qiniu::RS::Pub.set_separator(@bucket, "-") + result = Qiniu::RS.set_separator(@bucket, "-") result.should_not be_false puts result.inspect end @@ -53,7 +53,7 @@ module Qiniu context ".set_style" do it "should works" do - result = Qiniu::RS::Pub.set_style(@bucket, "small.jpg", "imageMogr/auto-orient/thumbnail/!120x120r/gravity/center/crop/!120x120/quality/80") + result = Qiniu::RS.set_style(@bucket, "small.jpg", "imageMogr/auto-orient/thumbnail/!120x120r/gravity/center/crop/!120x120/quality/80") result.should_not be_false puts result.inspect end @@ -61,7 +61,7 @@ module Qiniu context ".unstyle" do it "should works" do - result = Qiniu::RS::Pub.unstyle(@bucket, "small.jpg") + result = Qiniu::RS.unstyle(@bucket, "small.jpg") result.should_not be_false puts result.inspect end