This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.
Using RSpec there is some confusion about the differences between let , let! , and instance variables in specs. I'd like to focus on how instance variables work in RSpec in combination with before :context blocks, and in what kind of scenarios you should and should not use them. Why use instance variables? The advantage of declaring instance variables in before :context (or before :all ) blocks is…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.