spec/spec_helper.rb in carrierwave-aliyun-0.3.1 vs spec/spec_helper.rb in carrierwave-aliyun-0.3.2
- old
+ new
@@ -32,10 +32,11 @@
config.storage = :aliyun
config.aliyun_access_id = ALIYUN_ACCESS_ID
config.aliyun_access_key = ALIYUN_ACCESS_KEY
config.aliyun_bucket = ALIYUN_BUCKET
config.aliyun_area = "cn-hangzhou"
- # config.aliyun_internal = false
+ config.aliyun_internal = true
+ config.aliyun_host = "http://bison-dev.cn-hangzhou.oss.aliyun-inc.com"
end
def load_file(fname)
File.open([Rails.root,fname].join("/"))
end
\ No newline at end of file