Sha256: 98a2ff34dcedbca124f2d7db28d4682985f8962a7e1c067416616b2f7eb21440
Contents?: true
Size: 671 Bytes
Versions: 2
Compression:
Stored size: 671 Bytes
Contents
require 'test/unit' require 'uri' $:.unshift File.dirname(__FILE__) + '/../../lib' require 'aws/s3' require_library_or_gem 'breakpoint' 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
croaker-aws-s3-0.5.2.20090127001 | test/remote/test_helper.rb |
croaker-aws-s3-0.5.2.20090127002 | test/remote/test_helper.rb |