1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00
fog--fog/tests/storage/models/directory_test.rb

21 lines
436 B
Ruby
Raw Normal View History

2010-12-29 21:12:51 -05:00
for provider, config in dns_providers
2010-12-29 21:12:51 -05:00
params = {
:key => 'fogdirectorytests'
}.merge!(config[:directory_params] || {})
2010-12-29 21:12:51 -05:00
model_tests(provider[:storage].directory, params, config[:mocked]) do
tests("#public=(true)").succeeds do
pending if Fog.mocking? && !mocks_implemented
@instance.public=(true)
end
if !Fog.mocking? || mocks_implemented
2010-12-29 20:05:26 -05:00
@instance.responds_to(:public_url)
end
end
end