1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/spec/rackspace/requests/files/get_object_spec.rb
2010-02-27 13:39:33 -08:00

21 lines
585 B
Ruby

require File.dirname(__FILE__) + '/../../../spec_helper'
describe 'Rackspace::Files.get_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].get_object('container_name', 'object_name')
end
end
end