Sha256: f6213de4cb2206ab7c14b3a5376661af148d3b7ce339a5b5baeaa0c2199b6618
Contents?: true
Size: 449 Bytes
Versions: 3
Compression:
Stored size: 449 Bytes
Contents
# frozen_string_literal: true require 'vcr' require 'webmock/rspec' VCR.configure do |config| config.cassette_library_dir = 'spec/fixtures/slack' config.hook_into :webmock # config.default_cassette_options = { record: :new_episodes } config.configure_rspec_metadata! config.before_record do |i| i.request.body.gsub!(ENV['SLACK_API_TOKEN'], 'token') if ENV.key?('SLACK_API_TOKEN') i.response.body.force_encoding('UTF-8') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
slack-ruby-client-0.17.0 | spec/support/vcr.rb |
slack-ruby-client-0.16.0 | spec/support/vcr.rb |
slack-ruby-client-0.15.1 | spec/support/vcr.rb |