spec/spec_helper.rb in carrierwave-aliyun-0.2.1 vs spec/spec_helper.rb in carrierwave-aliyun-0.3.0
- old
+ new
@@ -31,9 +31,10 @@
CarrierWave.configure do |config|
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
end
def load_file(fname)
File.open([Rails.root,fname].join("/"))
\ No newline at end of file