Skip to content

Commit e7efd88

Browse files
Rails: Prefer webmock over VCR (#748)
Cassettes are tricky to maintain and are often fragile. Using webmock allows for more fine-grained control. Additionally, VCR risks leaking [sensitive data][]. [sensitive data]: https://benoittgt.github.io/vcr/#/configuration/filter_sensitive_data
1 parent 171b3e3 commit e7efd88

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

rails/README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,13 @@ others' Rails work, look in particular for:
146146

147147
[ActiveStorage]: https://guides.rubyonrails.org/active_storage_overview.html
148148

149+
## Testing
150+
151+
- Prefer [webmock][] over [VCR][].
152+
153+
[webmock]: https://github.com/webmock/webmock
154+
[VCR]: https://github.com/vcr/vcr
155+
149156
## How To Guides
150157

151158
- [Start a New Rails App](./how-to/start_a_new_rails_app.md)

0 commit comments

Comments
 (0)