Remove some preferences views, add extra tests

This commit is contained in:
Robin Ward
2016-11-10 15:54:21 -05:00
parent a94f06ff78
commit d98aa48f0d
8 changed files with 61 additions and 70 deletions

View File

@ -18,3 +18,18 @@ test("update some fields", () => {
ok(exists('.saved-user'), 'it displays the saved message');
});
});
test("about me", () => {
visit("/users/eviltrout/preferences/username");
andThen(() => {
ok(exists("#change_username"), "it has the input element for the bio");
});
});
test("username", () => {
visit("/users/eviltrout/preferences/about-me");
andThen(() => {
ok(exists(".raw-bio"), "it has the input element for the bio");
});
});