Sha256: 06c84003e8ffb72ccdeaea2e17516377eda3afede8e7b1971bd085b21da097c7

Contents?: true

Size: 286 Bytes

Versions: 4

Compression:

Stored size: 286 Bytes

Contents

require File.expand_path 'test_helper', File.dirname(__FILE__)

class TestSkypeError < MiniTest::Test

  def test_api_error
    begin
      Skype.asdfhujiko
    rescue => e
      err = e
    end
    assert_equal err.class, Skype::APIError
    assert err.message =~ /^ERROR /
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
skype-0.2.8 test/test_error.rb
skype-0.2.7 test/test_error.rb
skype-0.2.6 test/test_error.rb
skype-0.2.5 test/test_error.rb