import request from 'supertest'
import app from './utils/app'
import {setup,teardown} from './utils/db'
import routes from './utils/routes'

describe('Graph', function() {

  before(setup)
  after(teardown)

  describe('SVG', function() {

    it('should render a graph', function(done) {
      request(app)
        .get('/graph')
        .expect(200)
        .expect('Content-Type', /svg/)
        .end(function(err) {
          if (err) {
            return done(err)
          }

          done()
        })
    })

  })

})

@@ -67,22 +67,28 @@
 rt %7B
+%0A  
 setup,
+%0A  
 teardown
 %7D fr
@@ -83,16 +83,17 @@
 teardown
+%0A
 %7D from '

import statements