 should = require('chai').should()
 Promise = require('promise')
+
 ChuckApi = require('../src/index.coffee')
 
 before ->
   @chuck = new ChuckApi()
 
 describe 'Chuck Api Reader', ->
+
   describe 'all', ->
     it 'should return the correct number of jokes', ->
       @chuck.getAllJokes().then (jokes) ->

            joke.categories.should.not.contain 'explicit',
              'Returning random joke with excluded category'

  describe 'specific', ->
    it 'should return a specific joke by Id', ->
      @chuck.getJoke(469).then (joke) ->

        categories.value.should.deep.equal ['explicit', 'nerdy'],
          'Unexpected categories present'


  describe 'count', ->
    it 'should return the number of jokes', ->
      @chuck.getCount().then (count) ->
        count.type.should.equal 'success', 'Joke count request unsuccesful'
        count.value.should.be.above 500, 'Unexpected joke count recieved'


  describe 'random', ->
    it 'should return a random joke', ->
