mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
add basic spec for Rackspace::Storage##post_set_meta_temp_url_key
This commit is contained in:
parent
096c735bf3
commit
5a58840cf4
1 changed files with 17 additions and 0 deletions
17
tests/rackspace/requests/storage/account_tests.rb
Normal file
17
tests/rackspace/requests/storage/account_tests.rb
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
Shindo.tests('Fog::Storage[:rackspace] | account requests', [:rackspace]) do
|
||||||
|
|
||||||
|
tests('success') do
|
||||||
|
|
||||||
|
tests("#post_set_meta_temp_url_key('super_secret_key')").succeeds do
|
||||||
|
pending if Fog.mocking?
|
||||||
|
Fog::Storage[:rackspace].post_set_meta_temp_url_key('super_secret_key')
|
||||||
|
end
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
tests('failure') do
|
||||||
|
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
end
|
Loading…
Add table
Reference in a new issue