         description: 'in section two '
         srcUrl: null
       }]
-
-  describe 'digesting Scandal metadata', ->
-    it 'can digest', ->
-      rootPath = fs.realpathSync("spec/fixtures/scandal-metadata.json")
-      metadata = JSON.parse(fs.readFileSync(rootPath))
-
-      json = digest(metadata)
-      console.log JSON.stringify(json, null, '  ')
 
 # Yeah, recreating some biscotto stuff here...
 class Parser

              description : 'this is a function '
            }]

  describe 'sections', ->
    it 'correctly splits the sections when there are mutiple classes in the file', ->
      file = """

Biscotto = require 'biscotto'

describe 'digest', ->
  it 'generates method arguments', ->
    file = """
      # Public: Some class
      class Something
        # Public: this is a function
        #
        # * `argument` arg
        #   * `argument` arg
        someFunction: ->
    """
    json = Parser.generateDigest(file)
    expect(json.classes.Something.instanceMethods[0].arguments.list.length).toBe 1
    expect(json.classes.Something.instanceMethods[0].arguments.list[0].children.length).toBe 1

  it 'generates examples', ->
    file = """
      # Public: Some class
      #
      # ## Examples
      #
      # This is an example
      #
      # ```js
      # a = 1
      # ```
      class Something
        # Public: this is a function
        #
        # ## Examples
        #
        # Method example
        #
        # ```js
        # a = 1
        # ```
        someFunction: ->
    """
    json = Parser.generateDigest(file)
    expect(json.classes.Something.examples.length).toBe 1
    expect(json.classes.Something.examples[0].description).toBe 'This is an example'
    expect(json.classes.Something.instanceMethods[0].examples.length).toBe 1
    expect(json.classes.Something.instanceMethods[0].examples[0].description).toBe 'Method example'

  it 'generates events', ->
    file = """
      # Public: Some class
      #
      # ## Events
      #
      # Class Events
      #
      # * `event-one` an event
      #   * `argument` arg
      class Something
        # Public: this is a function
        #
        # ## Events
        #
        # Method Events
        #
        # * `event-method` a method event
        #   * `argument` arg
        someFunction: ->
    """
    json = Parser.generateDigest(file)
    expect(json.classes.Something.events.length).toBe 1
    expect(json.classes.Something.events.description).toBe 'Class Events'
    expect(json.classes.Something.instanceMethods[0].events.length).toBe 1
    expect(json.classes.Something.instanceMethods[0].events.description).toBe 'Method Events'

  describe 'src link generation', ->
    it 'generates links to github based on repo and version', ->
      file = """
        # Public: Some class
