Skip to content

Commit 67bb2e1

Browse files
committed
Remove sensitive data from feature recordings.
1 parent 1efda46 commit 67bb2e1

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

features/support/vcr.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
conf.hook_into :webmock
55
conf.cassette_library_dir = 'features/cassettes'
66
conf.default_cassette_options = { :record => :new_episodes }
7-
conf.filter_sensitive_data('<***>') { ''}
7+
conf.filter_sensitive_data('<TOKEN>') { SETTINGS['oauth_token'] }
8+
conf.filter_sensitive_data('<BASIC_AUTH>') { SETTINGS['basic_auth'] }
89
end
910

1011
VCR.cucumber_tags do |t|

0 commit comments

Comments
 (0)