spec/spec_helper.rb in carrierwave-aliyun-0.3.4 vs spec/spec_helper.rb in carrierwave-aliyun-0.3.5
- old
+ new
@@ -20,9 +20,10 @@
end
end
end
ActiveRecord::Migration.verbose = false
+ActiveRecord::Base.raise_in_transactional_callbacks = true
# 测试的时候需要修改这个地方
ALIYUN_ACCESS_ID = "osOXJ5VeQVgDLMs3"
ALIYUN_ACCESS_KEY = 'm2LSEotGzDFrtHLeG1e6OATUTQ5ypR'
ALIYUN_BUCKET = "bison-dev"
\ No newline at end of file