[tests] trying again to make collection gsub to get nils more resilient/unique

This commit is contained in:
geemus 2011-06-22 11:26:15 -07:00
parent 7f9d0ee944
commit 6ea8439501
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ def collection_tests(collection, params = {}, mocks_implemented = true)
tests('failure') do
if !Fog.mocking? || mocks_implemented
@identity = @identity.to_s.gsub(/\w/, rand(10).to_s)
@identity = @identity.to_s.gsub(/\w/, Fog::Mock.random_letters(1))
end
tests("#get('#{@identity}')").returns(nil) do