test/convection/model/test_vpc_endpoint.rb in convection-0.2.22 vs test/convection/model/test_vpc_endpoint.rb in convection-0.2.23
- old
+ new
@@ -39,9 +39,11 @@
assert service_name.is_a? Hash
s3_string_arr = service_name['Fn::Join']
refute s3_string_arr.nil?, 'ServiceName value is not specified as a string array'
assert s3_string_arr.is_a? Array
+ assert_equal '.', s3_string_arr[0]
+
s3_path_as_array = s3_string_arr[1]
refute s3_path_as_array.nil?, "The path for S3 should be defined as an array in #{s3_string_arr}"
assert s3_path_as_array.last == 's3', "ServiceName (#{s3_path_as_array}) does not contain \'s3\' as final element"
end