Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

finished up some testing for the oop object code.

  • Loading branch information...
commit 59eefd6ef51e618bd5b3868053fc47d597e9140f 1 parent be2b716
Scott Simpson authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. +5 0 tests/test_client.rb
5 tests/test_client.rb
@@ -147,5 +147,10 @@ def test_oop_access
147 147 container = swift.head_container('test_account_oop_1')
148 148 assert_equal('testing', container['x-container-meta-foo'], "post correctly set x-container-meta-foo")
149 149 (1..20).each {|n| swift.delete_container("test_account_oop_#{n}")}
  150 + swift.put_container('test_object_oop')
  151 + @file.seek 0
  152 + swift.put_object('test_object_oop', 'test.txt', @file)
  153 + obj = swift.head_object('test_object_oop', 'test.txt')
  154 + assert_equal(@file.stat.size, obj['content-length'])
150 155 end
151 156 end

0 comments on commit 59eefd6

Please sign in to comment.
Something went wrong with that request. Please try again.