before do and before (:each) do are the same. Reason for 2 blocks? Or did you want a before (:all) do? Or has the there been a change to the default syntax with other rspec syntax changes.