So the answer is No. before
is equivalent to before :each
, not before :all
Test example.
Update: Wow, this question is popular. To save your head from cognitive overload, I suggest you explicitly state :each
or :all
.
So the answer is No. before
is equivalent to before :each
, not before :all
Test example.
Update: Wow, this question is popular. To save your head from cognitive overload, I suggest you explicitly state :each
or :all
.