Rename /category/xyz paths to /c/xyz -- @SamSaffron did most of the

work even though I'm merging the patch!
This commit is contained in:
Robin Ward
2014-10-16 12:15:31 -04:00
parent 8bb20f2260
commit d2ac5a9ac6
15 changed files with 74 additions and 68 deletions

File diff suppressed because one or more lines are too long

View File

@@ -7,7 +7,7 @@ test("Visit Discovery Pages", function() {
ok(exists('.topic-list .topic-list-item'), "has topics");
});
visit("/category/bug");
visit("/c/bug");
andThen(function() {
ok(exists(".topic-list"), "The list of topics was rendered");
ok(exists('.topic-list .topic-list-item'), "has topics");

View File

@@ -23,6 +23,6 @@ test('href', function(){
href('latest', '/latest', 'latest');
href('categories', '/categories', 'categories');
href('category/bug', '/category/bug', 'English category name');
href('category/确实是这样', '/category/343434-category', 'Chinese category name');
href('category/bug', '/c/bug', 'English category name');
href('category/确实是这样', '/c/343434-category', 'Chinese category name');
});