Remove deprecations from edit-category and add skeleton acceptance test

This commit is contained in:
Robin Ward
2015-05-15 11:12:41 -04:00
parent 764f9b42fe
commit 0362c50698
11 changed files with 89 additions and 63 deletions
@@ -0,0 +1,17 @@
import { acceptance } from "helpers/qunit-helpers";
acceptance("Category Edit", { loggedIn: true });
test("Can edit a category", (assert) => {
visit("/c/bug");
click('.edit-category');
andThen(() => {
assert.ok(visible('#discourse-modal'), 'it pops up a modal');
});
click('a.close');
andThen(() => {
assert.ok(!visible('#discourse-modal'), 'it closes the modal');
});
});