Playback starts YouTube’s embedded player (privacy-enhanced mode).
How to Use RSpec Mocks & Stubs
ChannelJesus CastelloDescription from the creator
In this video you'll learn what are mocks in RSpec & how to use them correctly!
Mocks aren't stubs:
- A mock is for testing behaviour.
- A stub is for replacing calls with prebuilt responses.
Keep learning here:
rubyguides.com/2018/10/rspec-mocks/
Thanks for watching!
Mocks aren't stubs:
- A mock is for testing behaviour.
- A stub is for replacing calls with prebuilt responses.
Keep learning here:
rubyguides.com/2018/10/rspec-mocks/
Thanks for watching!
About this tutorial
Jesus Castello published this 12:23 video tutorial on November 2, 2018. It has been watched 16,789 times on YouTube.
- Channel
- Jesus Castello
- Category
- Science & Technology
- Duration
- 12:23
- Published
- November 2, 2018
- Views
- 16,789
- Likes
- 396
Tags
Share
This tutorial in other languages
- FRComment utiliser RSpec Mocks & Stubs
- ESCómo utilizar RSpec Mocks y Talones
- PTComo usar RSpec Mocks e Stubs
- ITCome utilizzare RSpec Mocks & Stubs
- DEWie zu verwenden RSpec Mocks & Stubs
- NLHoe te gebruiken RSpec Mocks & Stubs
- RUКак использовать RSpec Mocks и окурки
- PLJak używać RSpec Mocks & Stubs
- JAどのように使用RSpecのモック&スタブへ
- ARكيفية استخدام RSpec تزييف والحانات
- HIकैसे उपयोग RSpec Mocks और स्टब्स के लिए
- IDCara Gunakan RSpec mengolok-olok & Rintisan