       expect(out).to.not.deep.equal data
 
   describe '#render', ->
-    it 'renders dates and descriptions', ->
+    it 'renders dates, duration and descriptions', ->
       f = new Festus today: '2016-09-21'
       input =
         dates: from: '2015-06-15'
         description: '_wow_'
       known =
-        dates: 'Jun 2015 － Present'
+        dates:
+          interval: 'Jun 2015 － Present'
+          duration: '1 Year 3 Months'
         description: '<p><em>wow</em></p>\n'
       expect(f.render input).to.deep.equal known
 

    it 'fails when `till` is invalid', ->
      expect(-> d.renderDateInterval('2016-02-01', 'foobar')).to.throw Error

  describe '#renderMarkdown', ->
    it 'correctly renders markdown', ->
      d = new Demi

        dates: from: '2015-06-15'
        foo: bar: dates:
          from: '2016-02-01'
          till: '2016-05-01'
        description: '_wow_'
      known =
        dates:
          interval: 'Jun 2015 － Present'
          duration: '3 Years 3 Months'
        foo: bar:
          dates:
            interval: 'Feb － May 2016'
            duration: '3 Months'
        description: '<p><em>wow</em></p>\n'
      expect(f.render input).to.deep.equal known

