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:
parent
aa1262a6ba
commit
ec1953d424
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ module Fog
|
||||||
# TODO
|
# TODO
|
||||||
def create_template(block_id, options={})
|
def create_template(block_id, options={})
|
||||||
request(
|
request(
|
||||||
:expects => 200,
|
:expects => 202,
|
||||||
:method => 'POST',
|
:method => 'POST',
|
||||||
:path => "api/block_templates.json",
|
:path => "api/block_templates.json",
|
||||||
:query => {'id' => block_id}.merge!(options)
|
:query => {'id' => block_id}.merge!(options)
|
||||||
|
|
Loading…
Add table
Reference in a new issue