 Shop     = mongoose.model("Shop")
 
 request = request('http://localhost:3000');
+apiPreffix = '/api/v1'
 
 describe "General", ->
   it "should be listening on port 3000", (done) ->


  it "should not let a non-existant shop to login", (done) ->
    request.
    post("/shop/login").
    send({email: 'mynonexistantshop@email.com', password: '123456789'}).
    end (err, res) ->
      res.should.have.status 403


  it "should signup a new shop", (done) ->
    request.
    post(apiPreffix + '/shop/signup').
    send({name: 'Shop name', email: 'myshop@email.com', password: '123456'}).
    end (err, res) ->
      res.should.have.status 200
