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

3 commits

Author SHA1 Message Date
Paul Thornthwaite
2bd274eb23 [Brightbox] Update testing to MiniTest::Spec
Using spec form is going to be the standard way to testing (but relying
on asserts). This update allows the test(s) to be picked up by the main
rake task again.
2014-04-03 09:47:23 +01:00
Paul Thornthwaite
98cb07f59d [Brightbox] Remove dependency on .fog in test
This isolates the tests from the values in `Fog.credentials` which is
based on the contents of `~/.fog`

Underlying problem is that the code (and many others) rely on the Fog
global making it too tightly coupled to the environment hence having to
stub.

Full issue: https://github.com/fog/fog/issues/1390

This will probably be a repeating pattern we need to work on to DRY up
so every test from every provider doesn't include this setup workaround.
2014-03-13 10:30:35 +00:00
Paul Thornthwaite
bc421ae96c [Brightbox] Use minitest in Brightbox module
Includes a simple test of Compute class.
2014-03-12 16:30:57 +00:00