[tests] make collection gsub to find nils a bit more resilient/unique

This commit is contained in:
geemus 2011-06-20 23:32:48 -07:00
parent c663289072
commit ed35bbafcc
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/, 'a')
@identity = @identity.to_s.gsub(/\w/, rand(10).to_s)
end
tests("#get('#{@identity}')").returns(nil) do