Rename "User Expansion" to the much clearer "User Card"

This commit is contained in:
Robin Ward
2014-10-20 12:11:36 -04:00
parent 10094a0bcd
commit 1cf4a0d604
27 changed files with 76 additions and 71 deletions

View File

@ -0,0 +1,13 @@
integration("User Card");
test("card", function() {
visit('/');
ok(find('#user-card:visible').length === 0, 'user card is invisible by default');
click('a[data-user-card=eviltrout]:first');
andThen(function() {
ok(find('#user-card:visible').length === 1, 'card should appear');
});
});

View File

@ -1,13 +0,0 @@
integration("User Expansion");
test("expansion", function() {
visit('/');
ok(find('#user-expansion:visible').length === 0, 'user expansion is invisible by default');
click('a[data-user-expand=eviltrout]:first');
andThen(function() {
ok(find('#user-expansion:visible').length === 1, 'expansion should appear');
});
});