Fixtures in 1.3


#1

I’m getting used to 1.3, and I’m having some trouble getting collection fixtures to work.

For testing purposes, I created a new Meteor project and followed the TODO tutorial up to the Collections part.

  1. I created a file fixtures.js in /imports/api/
  2. I import this in /server/main.js
  3. When I start the server, I see the console log line indicating that the file was imported and if I query the collection using the mongo shell, I see the fixtures.
  4. If I query the collection from the client, I see nothing.

Am I missing something to get the fixtures to appear on the client? I have not modified the installed packages, so autopublish is still present.