ack

rake spec ==> Finished in 4.49 seconds
69 examples, 0 failures


On 24/01/12 13:31, [email protected] wrote:
> Hi, 
> 
> this patch is fixing some old fixtures and rspec test we have in client
> directory. All rspec tests should be now green against latest API.
> 
> In addition this patch adds handy methods for Conductor developers:
> 
> * Client now support "[object]_ids" so:
> 
>   > client.instance_ids # => [ 'inst1', 'inst2' ]
>   > client.driver_ids # => [ 'ec2', 'mock', .... ]
> 
> * Client has how support for 'providers':
> 
>   > client.driver('ec2').providers
>   > client.driver('ec2').valid_provider? 'ap-southeast-1'
>   > client.driver('rhevm').valid_provider_url? 
> 'https://rhevm.host.com:8443/rhevm-api;645e425e-66fe-4ac9-8874-537bd10ef08d'
> 
> * Client is now able to answer yes or no when you're not sure if action
>   is supported on given object:
> 
>   > client.instance('inst1').has_reboot? # => true/false
>   > client.instance('inst1').has_stop? # => true/false
> 
> * Client is now forwarding backtrace from server, so you will be able to 
> analyze
>   what is wrong. In addition, 401 is now handled as exception.
> 
>  -- Michal
> 

Reply via email to