Sha256: 46769730f8fadea0a31690d7ad9c0cec4caf8eb2c481e1a2adc6e6d3b55d0a27

Contents?: true

Size: 696 Bytes

Versions: 17

Compression:

Stored size: 696 Bytes

Contents

require 'test/unit'
require 'uri'
$:.unshift File.dirname(__FILE__) + '/../../lib'
require 'aws/s3'
begin
  require_library_or_gem 'breakpoint'
rescue LoadError
end

TEST_BUCKET = 'aws-s3-tests'
TEST_FILE   = File.dirname(__FILE__) + '/test_file.data'

class Test::Unit::TestCase
  include AWS::S3
  def establish_real_connection
    Base.establish_connection!(
      :access_key_id     => ENV['AMAZON_ACCESS_KEY_ID'], 
      :secret_access_key => ENV['AMAZON_SECRET_ACCESS_KEY']
    )
  end
  
  def disconnect!
    Base.disconnect
  end
  
  class TestBucket < Bucket
    set_current_bucket_to TEST_BUCKET
  end
  
  class TestS3Object < S3Object
    set_current_bucket_to TEST_BUCKET
  end
end

Version data entries

17 entries across 17 versions & 10 rubygems

Version Path
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/aws-s3-0.6.3/test/remote/test_helper.rb
aws-s3-instructure-0.6.2.1352914936 test/remote/test_helper.rb
aws-s3-0.6.3 test/remote/test_helper.rb
mb-aws-s3-0.6.2 test/remote/test_helper.rb
codders-aws-s3-0.6.2.1331721623 test/remote/test_helper.rb
surat-aws-s3-0.0.1 test/remote/test_helper.rb
aws-s3-instructure-0.6.2.1319643167 test/remote/test_helper.rb
aws-s3-instructure-0.6.2.1319222580 test/remote/test_helper.rb
codders-aws-s3-0.6.2 test/remote/test_helper.rb
le88-aws-s3-0.6.4.1310482383 test/remote/test_helper.rb
le88-aws-s3-0.6.3.1310482014 test/remote/test_helper.rb
aws-s3-akhtaboot-0.6.2.1288082910 test/remote/test_helper.rb
jaf-s3-0.6.3.1286550476 test/remote/test_helper.rb
stevequinlan-aws-s3-0.6.3 test/remote/test_helper.rb
aws-s3-0.6.0 test/remote/test_helper.rb
aws-s3-0.6.2 test/remote/test_helper.rb
aws-s3-0.6.1 test/remote/test_helper.rb