require 'rubygems'
require 'mocha'
require 'rspec'
require 'module_say'

describe Module_Say, "#privmsg" do

  before(:each) do
    @bot = mock('bot')
    @m = Module_Say.new
    @m.init_module(@bot)
  end

  it "always invokes system call" do
    @m.expects(:system).once
    @m.privmsg(@bot, "huamn", "#channel", "")
  end
end



Add simple spec for module_say
Add simple spec for module_say

Signed-off-by: Aki Saarinen <278bc57fbbff6b7b38435aea0f9d37e3d879167e@akisaarinen.fi>
