             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) ->

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

  describe 'categories', ->
    it 'should get all categories', ->
      @chuck.getCategories().then (categories) ->

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) ->
