Sha256: aeb510791b0d6218cd915934bf82cd72b941cf59d46213ae84c1f918ff6f6fed

Contents?: true

Size: 615 Bytes

Versions: 1

Compression:

Stored size: 615 Bytes

Contents

require "rubygems"
require "bundler/setup"
Bundler.require(:default, :test)

BOT_ROOT = File.join(FileUtils.pwd, 'spec')
BOT_ENVIRONMENT = 'test'
require 'bot'
require 'campfire_bot/absentee_camper'

RSpec.configure do |config|
  config.include CampfireBot::AbsenteeCamper::Notification
  config.include CampfireBot::AbsenteeCamper::Config
  config.treat_symbols_as_metadata_keys_with_true_values = true
  config.filter_run focus: true
  config.run_all_when_everything_filtered = true

  config.before do
    CampfireBot::AbsenteeCamper::Logger.stub(:instance).and_return(double('logger').as_null_object)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
campfire-bot-absentee-camper-0.3.0 spec/spec_helper.rb