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

[bluebox|compute] Expect correct status code for template create

This commit is contained in:
Lee Huffman 2011-09-22 16:57:22 -07:00
parent aa1262a6ba
commit ec1953d424

View file

@ -14,7 +14,7 @@ module Fog
# TODO
def create_template(block_id, options={})
request(
:expects => 200,
:expects => 202,
:method => 'POST',
:path => "api/block_templates.json",
:query => {'id' => block_id}.merge!(options)