 )
 
 test('.calculateRecencyOfHeadline when given a headline with
-no periodEnd returns "Newer data available"', (done) ->
+ no periodEnd returns "Newer data available"', (done) ->
   indicator = new Indicator()
 
   headlineService = new HeadlineService(indicator)

)

test("#narrativeRecencyTextIsUpToDate given text which is in the list of up to
date statuses returns true", ->
  assert.isTrue HeadlineService.narrativeRecencyTextIsUpToDate('Up to date')
)

test("#narrativeRecencyTextIsUpToDate given text which is not in the list of up to
date statuses returns false", ->
  assert.isFalse HeadlineService.narrativeRecencyTextIsUpToDate('Newer data available')
)

)

test('.calculateRecencyOfHeadline when given an indicator with a headline date
 older than the most recent data returns "Newer data available"', (done) ->
  indicator = new Indicator()
  headlineService = new HeadlineService(indicator)

