mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
Use a fresh collection each time the test is run
(so it can be rerun)
This commit is contained in:
@@ -4,7 +4,7 @@ test("livedata - basics", function () {
|
||||
assert.isTrue(Meteor.is_client);
|
||||
assert.isFalse(Meteor.is_server);
|
||||
|
||||
var coll = new Meteor.Collection("testing");
|
||||
var coll = new Meteor.Collection("testing" + LocalCollection.uuid());
|
||||
|
||||
coll.remove({foo: 'bar'});
|
||||
assert.length(coll.find({foo: 'bar'}).fetch(), 0);
|
||||
|
||||
Reference in New Issue
Block a user