 
   it "should not signup a new shop if provided data is invalid", (done) ->
     request.
-    post("/shop/signup").
+    post(apiPreffix + '/shop/signup').
     send({name: '', email: '', password: ''}).
     end (err, res) ->
       res.should.have.status 422


  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
