Sha256: dfa4492ffd85437b3047799b0f5d01da92f33f0becae3c6f4af275343992d653
Contents?: true
Size: 490 Bytes
Versions: 1
Compression:
Stored size: 490 Bytes
Contents
require File.expand_path 'test_helper', File.dirname(__FILE__) class TestSkypeCall < MiniTest::Test SKYPE_FROM = ENV["SKYPE_FROM"] SKYPE_TO = ENV["SKYPE_TO"] || "echo123" def test_call call = Skype.call SKYPE_TO STDERR.puts call if call.kind_of? String assert_equal call.class, Skype::Call assert_equal call.to, SKYPE_TO sleep 1 call.hangup assert [:finished, :missed, :cancelled].include? call.status assert_equal call.talking?, false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skype-0.2.1 | test/test_call.rb |