Sha256: a4eaff96a3c2187f58bb998b2dc2508509c2cd83256dc5fc6edc43c8dfe61837

Contents?: true

Size: 602 Bytes

Versions: 1

Compression:

Stored size: 602 Bytes

Contents

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

BOT_ROOT = File.join(FileUtils.pwd, 'spec')
BOT_ENVIRONMENT = 'test'
require 'bot'
require '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.2.0 spec/spec_helper.rb