Sha256: 315d498688a3b0678ce0ea734cbe716424c5b2cb29cc0b59b49ace6b75c799c8
Contents?: true
Size: 472 Bytes
Versions: 18
Compression:
Stored size: 472 Bytes
Contents
# Bootstraps and enables mocking for CarrierWave and Fog credentials = { provider: 'AWS', aws_access_key_id: 'TEST', aws_secret_access_key: 'TEST' } CarrierWave.configure do |config| config.root = Landable::Engine.root.join('tmp') config.cache_dir = Landable::Engine.root.join('tmp/carrier_wave') config.fog_credentials = credentials config.fog_directory = 'landable' end Fog.mock! Fog::Storage.new(credentials).directories.create(key: 'landable')
Version data entries
18 entries across 18 versions & 1 rubygems