Sha256: 8185862399d9f94247b7493fa1746a3910ebf8267e22fcf14e8cc8d77c912a68

Contents?: true

Size: 587 Bytes

Versions: 96

Compression:

Stored size: 587 Bytes

Contents

require File.dirname(__FILE__) + '/../../../spec_helper'

describe 'Rackspace::Files.head_object' do
  describe 'success' do

    before(:each) do
      Rackspace[:files].put_container('container_name')
      Rackspace[:files].put_object('container_name', 'object_name', lorem_file)
    end
    
    after(:each) do
      Rackspace[:files].delete_object('container_name', 'object_name')
      Rackspace[:files].delete_container('container_name')
    end

    it "should return proper attributes" do
      Rackspace[:files].head_object('container_name', 'object_name')
    end

  end
end

Version data entries

96 entries across 96 versions & 2 rubygems

Version Path
fog-0.2.30 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.28 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.27 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.26 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.25 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.24 spec/rackspace/requests/files/head_object_spec.rb
tecnh-fog-0.2.23.vpc spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.23 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.22 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.21 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.20 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.19 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.18 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.17 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.16 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.15 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.14 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.13 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.12 spec/rackspace/requests/files/head_object_spec.rb
fog-0.2.11 spec/rackspace/requests/files/head_object_spec.rb