shokai/skype-ruby

test_chat.rb failed on Mac OSX

Closed this issue · 1 comments

probably Skype.app for MacOSX changed API.

% bundle exec ruby test/test_chat.rb
Run options: --seed 4781

# Running:

.FFF

Finished in 2.051583s, 1.9497 runs/s, 6.3366 assertions/s.

  1) Failure:
TestSkypeChat#test_message_escape [test/test_chat.rb:29]:
Expected: "shokaishokai"
  Actual: nil


  2) Failure:
TestSkypeChat#test_message [test/test_chat.rb:21]:
Expected: "shokaishokai"
  Actual: nil


  3) Failure:
TestSkypeChat#test_exec [test/test_chat.rb:13]:
Expected: "shokaishokai"
  Actual: nil

4 runs, 13 assertions, 3 failures, 0 errors, 0 skips

it was my imagination, forgot set ENV variable SKYPE_FROM before run Tests.