Displaying 1 result from an estimated 1 matches for "000a95ba12c4".
2006 Jun 16
2
need help mocking out a method
...cate 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_uuid
@mock_uuid.shift
end
end
class St...