I just started in a new company and found a lot of 'lets'. I am begginer using RSpec and was wondering what those 'lets' meant. You made it simple to understand. I am watching all your tutorials regarding RSpec and is helping a lot to understand the tests that my company made.
As of Rpec 3 you can disable the global availability of describe by limiting the domain specific language (dsl). Prefixing with Rspec.describe ensures tests will still run after implementing the limitation.
This stack overflow post explains the difference stackoverflow.com/questions/24747448/rspec-describe-vs-describe Basically, it's probably better to use RSpec.describe but as long as you don't disable the expose_dsl_globally config setting then you can use both.
I just started in a new company and found a lot of 'lets'. I am begginer using RSpec and was wondering what those 'lets' meant. You made it simple to understand. I am watching all your tutorials regarding RSpec and is helping a lot to understand the tests that my company made.
I'm so glad it was helpful!
yo do a great job, you talk clear and English is not my native language but i can understand you perfectly, thank
I appreciate that!
You make this very simple and easy to understand. Thank you
Very useful! Thanks!
Glad it was helpful!
I'm learning ruby for my SWE internship. This video helped clarify a few things on testing. Thanks!
Glad to hear it!
Nit @7:41. You can’t put let variables in an “it” block.
Great video!
it was perfect! thanks
You're welcome!
Hey man what's your keyboard? sounds really cool
Thanks for these videos, Conner. One question. Sometimes you use Rspec.describe, and sometimes it's just describe. Why is that?
As of Rpec 3 you can disable the global availability of describe by limiting the domain specific language (dsl).
Prefixing with Rspec.describe ensures tests will still run after implementing the limitation.
This stack overflow post explains the difference stackoverflow.com/questions/24747448/rspec-describe-vs-describe
Basically, it's probably better to use RSpec.describe but as long as you don't disable the expose_dsl_globally config setting then you can use both.
Any Odinites?
Where is part 3?
that's what I was wondering
VVoooVVV