Sha256: 03e887c00e1cebc309ebb569a641fe61742ffd1b25dab673986023be27118c86

Contents?: true

Size: 339 Bytes

Versions: 1

Compression:

Stored size: 339 Bytes

Contents

require 'coveralls'
Coveralls.wear!
require 'cinch-wikipedia'

def fake_bot
  bot = Cinch::Bot.new
  bot.loggers.level = :fatal
  bot
  return bot
end

module Cinch
  module Plugin
    def initialize(opts = {})
      @bot = fake_bot
      @handlers = []
      @timers   = []
      # Don't init the bot
      # __register
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cinch-wikipedia-1.0.0 spec/spec_helper.rb