         location:
           type: GeoPoint
       }, {
-        options:
-          arangodb:
-            collection: 'Complex'
+        arangodb:
+          collection: 'Complex'
       }
 
     describe 'connection generator:', () ->

      lat = chance.latitude()
      lng = chance.longitude()

      toDB = {
        name:
          first: firstName
          last: lastName

        active: true
        likes: ['nodejs', 'loopback']
        location: new GeoPoint {lat: lat, lng: lng}


      jsonData.should.eql expected
      done()
