Sha256: 85d4660b3f5be62831a195eb7178e1bed6d31b3c91bbd0d02e39c6724adacd47

Contents?: true

Size: 372 Bytes

Versions: 2

Compression:

Stored size: 372 Bytes

Contents

require File.dirname(__FILE__) + "/../helper"

module Roflbot
  class TestRunner < Test::Unit::TestCase
    def test_runs_sentence_bot
      bot = mock("SentenceBot", :connect => nil, :wait => nil)
      SentenceBot.expects(:new).with("foo", "bar", { "foo" => "bar" }).returns(bot)
      Runner.new(%W{-u foo -p bar -c #{fixture_filename("bogus.yml")}})
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
roflbot-0.0.1 test/roflbot/test_runner.rb
roflbot-0.0.0 test/roflbot/test_runner.rb