function clearAllCollections() {
  Prompts.remove({});
  Submissions.remove({});
}

Meteor.methods({

  clearAllCollections: clearAllCollections,

  setupFixtures: function() {
    clearAllCollections();

    var id = Prompts.insert("test prompt");
    Submissions.insert({
      promptId: id,
      response: 'test response'
    });
  }
});

@@ -219,22 +219,22 @@
 Prompts.
-insert
+create
 (%22test p
@@ -267,16 +267,38 @@
 nsert(%7B%0A
+      responses: %5B%7B%0A  
       pr
@@ -309,16 +309,18 @@
 Id: id,%0A
+  
       re
@@ -343,16 +343,25 @@
 sponse'%0A
+      %7D%5D%0A
     %7D);%0A
@@ -364,12 +364,11 @@
 %7D);%0A  %7D%0A
+
 %7D);
-%0A

Fix JSON formation in test helper methods