Sha256: f945980b81a75da679314a5dabe7024d80c0abe84a6668a7f6008d9ce3f5ba77
Contents?: true
Size: 452 Bytes
Versions: 1
Compression:
Stored size: 452 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 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
skype-0.2.0 | test/test_call.rb |