spec/spec_helper.rb in carrierwave-aliyun-0.1.0 vs spec/spec_helper.rb in carrierwave-aliyun-0.1.1
- old
+ new
@@ -27,9 +27,10 @@
CarrierWave.configure do |config|
config.storage = :aliyun
config.aliyun_access_id = "7ewl4zm3mhi45vko9zx022ul"
config.aliyun_access_key = 'Ajpi7IRKDKdXYHHFFoS89uQJQE8='
config.aliyun_bucket = "carrierwave"
+ # config.aliyun_internal = false
end
def load_file(fname)
File.open([Rails.root,fname].join("/"))
end
\ No newline at end of file