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

[tests] mark not implemented mocks as pending

This commit is contained in:
geemus 2011-09-22 19:46:35 -05:00
parent c80baef30e
commit 3fbaeb3857
2 changed files with 3 additions and 0 deletions

View file

@ -34,6 +34,7 @@ Shindo.tests('Fog::Compute[:brightbox] | load balancer requests', ['brightbox'])
end
tests("#list_load_balancers()").formats(Brightbox::Compute::Formats::Collection::LOAD_BALANCERS) do
pending if Fog.mocking?
Fog::Compute[:brightbox].list_load_balancers
end

View file

@ -4,6 +4,8 @@ for provider, config in compute_providers
Shindo.tests("Fog::Compute[:#{provider}] | flavors", [provider]) do
p config[:mocked]
flavors_tests(Fog::Compute[provider], (config[:flavors_attributes] || {}), config[:mocked])
end