Sha256: 681005d372ce7394bd84782b69463f800ec142c288df7657b4fac9cafd791b70
Contents?: true
Size: 593 Bytes
Versions: 1
Compression:
Stored size: 593 Bytes
Contents
require_relative 'spec_helper' require_relative '../../lib/microstatic/s3_deployer' module Microstatic describe 'uploading to a test bucket' do def test_bucket 'microstatic-test-bucket' end def test_dir File.expand_path( "../fixtures", __FILE__ ) end def aws_creds { :access_key_id => ENV.fetch('AWS_ACCESS_KEY_ID'), :secret_access_key => ENV.fetch('AWS_SECRET_ACCESS_KEY') } end it 'succeeds' do deployer = S3Deployer.new( test_dir, test_bucket, aws_creds ) deployer.file_list.exclude(%r|ignored/|) deployer.upload end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
microstatic-0.5.0 | spec/integration/upload_to_test_bucket_spec.rb |