mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
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:
File diff suppressed because one or more lines are too long
@@ -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");
|
||||
|
||||
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user