mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
Fix syntax for ruby 1.8.7
This commit is contained in:
parent
0dad896add
commit
b19e6dc292
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@ Shindo.tests('Fog::DNS[:aws] | change_resource_record_sets', ['aws', 'dns']) do
|
|||
}]
|
||||
|
||||
result = Fog::DNS::AWS.change_resource_record_sets_data('zone_id123', change_batch)
|
||||
.match(%r{<GeoLocation>.*</GeoLocation>})
|
||||
geo = result.match(%r{<GeoLocation>.*</GeoLocation>})
|
||||
returns("<GeoLocation><CountryCode>US</CountryCode><SubdivisionCode>AR</SubdivisionCode></GeoLocation>") {
|
||||
result ? result[0] : ''
|
||||
geo ? geo[0] : ''
|
||||
}
|
||||
|
||||
result
|
||||
|
|
Loading…
Reference in a new issue