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

15 commits

Author SHA1 Message Date
Paul Thornthwaite
ec8b940b2c Standardise on collection methods
Done with `rubocop --auto-correct --only CollectionMethods`
2014-05-26 16:22:07 +01:00
Paul Thornthwaite
ef9a9697ab Remove trailing whitespace
Done with `rubocop --auto-correct --only TrailingWhitespace`
2014-05-26 14:44:18 +01:00
Paul Thornthwaite
330a351ade Remove trailing blank lines
Done with `rubocop --auto-correct --only TrailingBlankLines`
2014-05-26 14:35:26 +01:00
Kyle Rames
d2ba761410 [openstack|compute] added descriptions to returns blocks in the security_groups tests in hopes of trying to track down the cause of issue #2874 2014-05-01 13:13:47 -05:00
Erik Mackdanz
f37507c9c2 Fix test 2014-02-24 11:00:20 -06:00
Erik Mackdanz
c151dd081b [openstack] add unit test covering server.floating_ip_addresses 2014-02-24 10:26:15 -06:00
radekg
663f9d7622 [openstack] Add more observable states for openstack models - tests corrected. 2014-02-18 15:17:13 +01:00
radekg
ed22ddadb2 [openstack] Add more observable states for openstack models - tests added 2014-02-11 13:12:26 +01:00
Thom Mahoney & Eugene Howe
0192e53ef7 openstack modifications
* add model and collection for security group rules
* add mock data for networks
* returns address in create_server mock
* proper security group rule mocks
* proper security group mocks
2013-12-09 16:31:16 -08:00
Dan Prince
50ff05dffb OS: Fix revert_resize_server method name.
Fixes an issue where calling revert_resize on the OpenStack Server
object would fail with a method name error.

----

Updates the revert_resize_server request methods to match the filename.
This also makes it match the method name we call in the
compute/server.rb module (revert_resize_server instead of
revert_resized_server).

Adds a test case which should guard against the above issue.
2013-05-03 12:14:04 -04:00
Ferran Rodenas
412a6cc3ae [openstack|compute] Add volume tests 2013-04-04 12:27:17 +02:00
Sergio Rubio
8bb3e60aea [openstack|compute] images collection should not return nil for #all
Fog::Compute[:openstack].images.all returns nil without the patch.
The patch should bring the images collection behaviour in-line with
other collections I think.

The added test should expose the issue.
2013-03-04 18:54:18 +01:00
Dan Prince
8509d5c05d OpenStack: Add missing metadatum requests.
Add missing delete_meta and update_meta calls to the OpenStack
API. Also updates the model with some tests on these new calls.
2013-02-26 14:48:36 -05:00
Dan Prince
60fefe7b80 OpenStack Compute: Fix server model metadata
Updates the OpenStack compute server model so that it stores/handles
metadata correctly on Server create again.

This was a regression from 21499d8 (and should properly handle the
concern there too).

Includes an update to the test that fails without these fixes.
2013-02-25 13:49:23 -05:00
Eric Hodel
e85428dcf0 OpenStack servers can now retrieve security groups
Added default security group to the OpenStack compute mocks.

OpenStack server creation mock now stores the security groups for the
created server.

OpenStack security group mock deletion now deletes created security
groups.

OpenStack security group mock list now accepts a server id like the real
implementation.
2012-12-08 14:03:13 -08:00