FIX: editing a post wasn't showing error messages from the server

This commit is contained in:
Régis Hanol
2015-03-19 12:22:56 +01:00
parent b071bd3c7c
commit df3b1f6968
21 changed files with 113 additions and 117 deletions

View File

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