lib/fog/openstack/requests/compute/create_volume.rb in fog-1.6.0 vs lib/fog/openstack/requests/compute/create_volume.rb in fog-1.7.0

- old
+ new

@@ -31,19 +31,19 @@ def create_volume(name, description, size, options={}) response = Excon::Response.new response.status = 202 response.body = { 'volume' => { - 'id' => Fog::Mock.random_numbers(2), - 'displayName' => name, - 'displayDescription' => description, - 'size' => size, - 'status' => 'creating', - 'snapshotId' => '4', - 'volumeType' => nil, - 'availabilityZone' => 'nova', - 'createdAt' => Time.now, - 'attachments' => [] + 'id' => Fog::Mock.random_numbers(2), + 'display_name' => name, + 'display_description' => description, + 'size' => size, + 'status' => 'creating', + 'snapshot_id' => '4', + 'volume_type' => nil, + 'availability_zone' => 'nova', + 'created_at' => Time.now, + 'attachments' => [] } } response end end