search for: storagecontrollerapitest

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

2006 Jun 16
2
need help mocking out a method
...c4", "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 StorageControllerApiTest < Test::Unit::TestCase [big snip of standard stuff] def test_assign_uuid a = @controller.get_next_uuid # fails before assertion end end cremes$ ruby test/functional/storage_api_test.rb -n test_assign_uuid Loaded suite test/functional/storage_api_test Started E Finished in 0.074...