search for: mock_uuid

Displaying 1 result from an estimated 1 matches for "mock_uuid".

2006 Jun 16
2
need help mocking out a method
...unique number so that it returns a duplicate number several times in a row thereby triggering the error handling. However, I can''t get the mock working. Here''s the test code along with the error (all from test/functional/ storage_api_test.rb). class StorageController @mock_uuid = ["7cd00940-df96-0128-85c8-000a95ba12c4", "cca3c300-df8f-0128-85c8-000a95ba12c4", "cca3c300-df8f-0128-85c8-000a95ba12c4", "cca3c300-df8f-0128-85c8-000a95ba12c4", "cca3c300-df8f-0128-85c8-000a95ba12c4"] def get_next_u...