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

[Brightbox] Guards against unimplemented mock

It didn't fail the CI run but a Fog::Errors::MockNotImplemented error
was raised due to a request being unguarded when testing with mocks.
This commit is contained in:
Paul Thornthwaite 2012-12-05 17:53:49 +00:00
parent 6109001172
commit bcfb5fe1df

View file

@ -1,5 +1,7 @@
Shindo.tests("Fog::Compute[:brightbox] | Account model", ["brightbox"]) do
pending if Fog.mocking?
@account = Fog::Compute[:brightbox].account
tests("success") do