method

test_sapi

ruby latest stable - Class: TestWIN32OLE_PROPERTYPUTREF

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v1_8_7_330) is shown here.

test_sapi()
public

No documentation available.

# File ext/win32ole/tests/test_propertyputref.rb, line 12
  def test_sapi
    if @sapi
      new_id = @sapi.getvoices.item(2).Id
      @sapi.voice = @sapi.getvoices.item(2)
      assert_equal(new_id, @sapi.voice.Id)
    end
  end