Fix a test

* Fix location for an instance in a test
This commit is contained in:
Amir Jafarian 2016-10-30 20:50:06 -04:00
parent 0b312e02d5
commit d908a52753
1 changed files with 2 additions and 2 deletions

View File

@ -80,10 +80,10 @@ module.exports = function(dataSource, should, connectorCapabilities) {
TestModel.create({name: 'second'}, function(err) {
if (err) return done(err);
var location1 = new GeoPoint({lat: 10.2, lng: 6.7});
var location1 = new GeoPoint({lat: 10.3, lng: 6.8});
var location2 = new GeoPoint({lat: 10.3, lng: 6.8});
GeoModel.create([
{name: 'Rome', location: location1},
{name: 'Tokyo', location: location1},
{name: 'Tokyo', location: location2},
], function(err) {
done(err);
});