Merge pull request #1160 from strongloop/fix_test

Fix a test
This commit is contained in:
Amirali Jafarian 2016-10-30 20:56:42 -04:00 committed by GitHub
commit 72c27b040c
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);
});