When not to use instance variables in RSpec
Let’s explore how RSpec helps developers use instance variables between specs, by restoring them before every spec, and in what kind of scenarios you should and should not use them.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
Let’s explore how RSpec helps developers use instance variables between specs, by restoring them before every spec, and in what kind of scenarios you should and should not use them.
Post a comment