For consistency and update reasons you could migrate this to the expect syntax as well, e.g. expect(response).to redirect_to(root_path) should work :)