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