spec/support/vcr.rb in lokalise_manager-1.2.1 vs spec/support/vcr.rb in lokalise_manager-2.0.0
- old
+ new
@@ -4,8 +4,10 @@
VCR.configure do |c|
c.ignore_hosts 'codeclimate.com'
c.hook_into :faraday
c.cassette_library_dir = File.join(File.dirname(__FILE__), '..', 'fixtures', 'vcr_cassettes')
- c.filter_sensitive_data('<LOKALISE_TOKEN>') { ENV.fetch('LOKALISE_API_TOKEN') }
+ c.filter_sensitive_data('<LOKALISE_TOKEN>') do |_i|
+ ENV.fetch('LOKALISE_API_TOKEN')
+ end
c.configure_rspec_metadata!
end