mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
20 lines
469 B
Ruby
20 lines
469 B
Ruby
require File.dirname(__FILE__) + '/../../../spec_helper'
|
|
|
|
describe 'Rackspace::Files.put_object' do
|
|
describe 'success' do
|
|
|
|
before(:each) do
|
|
files.put_container('container_name')
|
|
end
|
|
|
|
after(:each) do
|
|
files.delete_object('container_name', 'object_name')
|
|
files.delete_container('container_name')
|
|
end
|
|
|
|
it "should return proper attributes" do
|
|
files.put_object('container_name', 'object_name', lorem_file)
|
|
end
|
|
|
|
end
|
|
end
|