updated ALC endpoint + nl editor + js tests

This commit is contained in:
Jonathan Labreuille
2016-08-05 15:25:54 +02:00
parent 4dd7f32f3a
commit 1305a10ee0
8 changed files with 70 additions and 56 deletions

View File

@@ -53,7 +53,7 @@ define([
mock1.expects('trigger').once().withArgs('refreshPosts', postsSet1);
mock2.expects('trigger').once().withArgs('refreshPosts', postsSet2);
model.refreshBlocks([block1, block2], [postsSet1, postsSet2]);
model.refreshBlocks([block1, block2], { data: [postsSet1, postsSet2] });
mock1.verify();
mock2.verify();