get all the rackspace files specs passing
This commit is contained in:
parent
4225565218
commit
a6b3d365f0
|
@ -56,7 +56,7 @@ module Fog
|
||||||
:expects => params[:expects],
|
:expects => params[:expects],
|
||||||
:headers => {
|
:headers => {
|
||||||
'X-Auth-Token' => @auth_token
|
'X-Auth-Token' => @auth_token
|
||||||
},
|
}.merge!(params[:headers] || {}),
|
||||||
:host => @cdn_host,
|
:host => @cdn_host,
|
||||||
:method => params[:method],
|
:method => params[:method],
|
||||||
:path => "#{@cdn_path}/#{params[:path]}",
|
:path => "#{@cdn_path}/#{params[:path]}",
|
||||||
|
@ -74,7 +74,7 @@ module Fog
|
||||||
:expects => params[:expects],
|
:expects => params[:expects],
|
||||||
:headers => {
|
:headers => {
|
||||||
'X-Auth-Token' => @auth_token
|
'X-Auth-Token' => @auth_token
|
||||||
},
|
}.merge!(params[:headers] || {}),
|
||||||
:host => @storage_host,
|
:host => @storage_host,
|
||||||
:method => params[:method],
|
:method => params[:method],
|
||||||
:path => "#{@storage_path}/#{params[:path]}",
|
:path => "#{@storage_path}/#{params[:path]}",
|
||||||
|
|
|
@ -8,7 +8,7 @@ describe 'Rackspace::Files.put_object' do
|
||||||
end
|
end
|
||||||
|
|
||||||
after(:each) do
|
after(:each) do
|
||||||
files.delete_object('object_name')
|
files.delete_object('container_name', 'object_name')
|
||||||
files.delete_container('container_name')
|
files.delete_container('container_name')
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue