Sha256: 05da4a4ee5d886b26b714506767ed1fec1c94c8a8896a188717f4d0ec3fba97a

Contents?: true

Size: 773 Bytes

Versions: 3

Compression:

Stored size: 773 Bytes

Contents

# frozen_string_literal: true
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..'))

require 'rubygems'
require 'rspec'
require 'timecop'

require 'simplecov'
require 'simplecov-lcov'
SimpleCov::Formatter::LcovFormatter.config do |c|
  c.report_with_single_file = true
  c.single_report_path = 'coverage/lcov.info'
end
SimpleCov.formatter = SimpleCov::Formatter::LcovFormatter
SimpleCov.start

require 'slack_ruby_client'

Dir[File.join(File.dirname(__FILE__), 'support', '**/*.rb')].each do |file|
  require file
end

Slack.configure do |config|
  config.token = '<SLACK_API_TOKEN>' # ENV['SLACK_API_TOKEN']
end

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = '.rspec_status'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/spec_helper.rb
slack-ruby-client-2.3.0 spec/spec_helper.rb
slack-ruby-client-2.2.0 spec/spec_helper.rb