Maintenance: Fix outdated code comment
This commit is contained in:
parent
8c7ac9143f
commit
b23a6ae6ff
1 changed files with 5 additions and 8 deletions
|
@ -22,15 +22,12 @@ FactoryBot.define do
|
||||||
}
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
# Our Twitter API tests need valid credentials,
|
# When recording a new VCR cassette,
|
||||||
# but storing them in this file is bad for security.
|
# Twitter API tests need valid credentials--
|
||||||
# So what do we do?
|
# but storing them in this file is a security no-no.
|
||||||
#
|
#
|
||||||
# * Paste the keys in here,
|
# Instead, store your twitter API credentials in env vars to utilize this factory.
|
||||||
# * run the tests (with `use_vcr: :with_oauth_headers`),
|
# (Try https://github.com/direnv/direnv to set env vars automatically.)
|
||||||
# * let VCR cache the network traffic, and
|
|
||||||
# * change the keys back to "REDACTED"
|
|
||||||
# (both here and in the resulting VCR cassettes).
|
|
||||||
transient do
|
transient do
|
||||||
consumer_key { 'REDACTED' }
|
consumer_key { 'REDACTED' }
|
||||||
consumer_secret { 'REDACTED' }
|
consumer_secret { 'REDACTED' }
|
||||||
|
|
Loading…
Reference in a new issue