This before :each is still executing before every test and then you're overriding some of the variables it creates.