Sha256: aaaf67374e25279b3ce68bb40df5b6f6c9b1cca455e7d817ee0d88f9d0bc40f2

Contents?: true

Size: 266 Bytes

Versions: 2

Compression:

Stored size: 266 Bytes

Contents

if ENV["S3"]
  require "defile/backend/s3"

  config = YAML.load_file("s3.yml").map { |k, v| [k.to_sym, v] }.to_h

  RSpec.describe Defile::Backend::S3 do
    let(:backend) { Defile::Backend::S3.new(max_size: 100, **config) }

    it_behaves_like :backend
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
defile-0.2.1 spec/defile/backend/s3_spec.rb
defile-0.2.0 spec/defile/backend/s3_spec.rb