Sha256: 68335494a195568f03aec58f86893705a005830055d32f3ce17ed5e73d1b299a

Contents?: true

Size: 248 Bytes

Versions: 13

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true
RSpec.configure do |config|
  config.before do
    @old_token = Slack::Config.token
  end
  config.after do
    Slack::Config.token = @old_token
    Slack::Web::Config.reset
    Slack::RealTime::Config.reset
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
slack-ruby-client-2.4.0 spec/support/token.rb
slack-ruby-client-2.3.0 spec/support/token.rb
slack-ruby-client-2.2.0 spec/support/token.rb
slack-ruby-client-2.1.0 spec/support/token.rb
slack-ruby-client-2.0.0 spec/support/token.rb
slack-ruby-client-1.1.0 spec/support/token.rb
slack-ruby-client-1.0.0 spec/support/token.rb
slack-ruby-client-0.17.0 spec/support/token.rb
slack-ruby-client-0.16.0 spec/support/token.rb
slack-ruby-client-0.15.1 spec/support/token.rb
slack-ruby-client-0.15.0 spec/support/token.rb
slack-ruby-client-0.14.6 spec/support/token.rb
slack-ruby-client-0.14.5 spec/support/token.rb