FIX: Updating the category was not updating the UI

This commit is contained in:
Robin Ward
2015-04-16 13:56:27 -04:00
parent b1da9ac875
commit e912b698ac
7 changed files with 60 additions and 21 deletions
@@ -0,0 +1,17 @@
import { acceptance } from "helpers/qunit-helpers";
acceptance("Topic - Anonymous");
test("Enter a Topic", () => {
visit("/t/internationalization-localization/280/1");
andThen(() => {
ok(exists("#topic"), "The topic was rendered");
ok(exists("#topic .cooked"), "The topic has cooked posts");
});
});
test("Enter without an id", () => {
visit("/t/internationalization-localization");
andThen(() => {
ok(exists("#topic"), "The topic was rendered");
});
});