Sha256: 5da62724acaeb40348381e81ee3269d6f8138b36aa1f43e42fb11140e91656ec

Contents?: true

Size: 281 Bytes

Versions: 7

Compression:

Stored size: 281 Bytes

Contents

# frozen_string_literal: true

RSpec.configure do |config|
  config.before :each do
    SlackRubyBot.configure do |c|
      c.token = 'testtoken'
      c.user = 'rubybot'
      c.user_id = 'DEADBEEF'
    end
  end

  config.after :each do
    SlackRubyBot::Config.reset!
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
slackrb-0.17.1 lib/slack-ruby-bot/rspec/support/slack_ruby_bot_configure.rb
slackrb-0.17.0 lib/slack-ruby-bot/rspec/support/slack_ruby_bot_configure.rb
slack-ruby-bot-0.16.1 lib/slack-ruby-bot/rspec/support/slack_ruby_bot_configure.rb
slack-ruby-bot-0.16.0 lib/slack-ruby-bot/rspec/support/slack_ruby_bot_configure.rb
slack-ruby-bot-0.15.0 lib/slack-ruby-bot/rspec/support/slack_ruby_bot_configure.rb
slack-ruby-bot-0.14.0 lib/slack-ruby-bot/rspec/support/slack_ruby_bot_configure.rb
slack-ruby-bot-0.13.0 lib/slack-ruby-bot/rspec/support/slack_ruby_bot_configure.rb