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:
parent
6109001172
commit
bcfb5fe1df
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue