mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[tests] make collection gsub to find nils a bit more resilient/unique
This commit is contained in:
parent
c663289072
commit
ed35bbafcc
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue