Sha256: a0fcae2519fb3c5eb476bd69ab0a26613987aec2fcd84f039151c661df76b91c
Contents?: true
Size: 962 Bytes
Versions: 4
Compression:
Stored size: 962 Bytes
Contents
base = File.dirname(__FILE__) require File.join(base, '../test_setup') context 'S33r sync methods' do setup do @base_dir = File.dirname(__FILE__) @text_filename = @base_dir + '/../files/textfile.txt' @graphic_filename = @base_dir + '/../files/wave.jpg' end specify 'should return MD5 checksum for text files' do md5sum(@text_filename).should.equal('bbf560d44f092d22a30d3a562436ad8c') end specify 'should return MD5 checksum for graphic files' do md5sum(@graphic_filename).should.equal('80b669f252257eedd8a2606cb1a0df6a') end specify 'should be able to map a directory structure to S3 bucket keys' do todo end specify 'should be able to convert paths to keys' do todo end specify 'should return an array of local files to put to S3 based on differences between MD5 checksums' do todo end specify 'should convert S3 bucket keys into a "virtual" directory and file structure' do todo end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
s33r-0.3.1 | test/cases/spec_sync.rb |
s33r-0.4.2 | test/cases/spec_sync.rb |
s33r-0.4.1 | test/cases/spec_sync.rb |
s33r-0.4 | test/cases/spec_sync.rb |