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

[aws|region validation] Error message of the test to match error of the validator.

This commit is contained in:
radekg 2014-02-18 16:07:19 +01:00
parent 663f9d7622
commit 38fc980016

View file

@ -20,7 +20,7 @@ Shindo.tests('Fog::Compute[:aws] | region requests', ['aws']) do
tests("#incorrect_region") do
raises(ArgumentError, "Incorrect region world-antarctica-1") do
raises(ArgumentError, "Unknown region: world-antarctica-1") do
Fog::Compute::AWS.new({:aws_access_key_id => 'dummykey',
:aws_secret_access_key => 'dummysecret',
:aws_session_token => 'dummytoken',