--- a/Allura/allura/tests/functional/test_root.py
+++ b/Allura/allura/tests/functional/test_root.py
@@ -74,6 +74,12 @@
assert_equal(resp.status_int, 302)
assert_equal(resp.location, 'http://localhost/p/test2/activity/')
+ with push_config(config, **{'activitystream.enabled': 'false'}):
+ self.app.cookies['activitystream.enabled'] = 'true'
+ resp = self.app.get('/p/test2/')
+ assert_equal(resp.status_int, 302)
+ assert_equal(resp.location, 'http://localhost/p/test2/activity/')
+
def test_neighborhood_home(self):
# Install home app
nb = M.Neighborhood.query.get(name='Adobe')