Oh for sure, I just wanted to get a few basic ones done so everyone else
could get started on tests and have relevant examples to work off of :)
On Feb 26, 2014 6:35 PM, "williamhc" <notifications@github.com> wrote:

> In test/trip.js:
>
> > @@ -0,0 +1,21 @@
> > +//requires
> > +var assert = require("assert");
> > +var express = require('express');
> > +var app = require('../app.js');
> > +var request = require('supertest');
> > +
> > +describe('GET /trips/:badid', function(){
> > +	it('should return json with a 500 error');
> > +})
> > +
> > +describe('POST /trips/create', function(){
> > +	
> > +	it('should respond with json', function(done){
>
> should probably test also (in another test) that a trip was actually
> created.
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/caseyvill/Project-Barbosa/pull/3/files#r10107184>
> .
>