     it 'returns Other', ->
       @article.clear()
       @article.getParselySection().should.equal 'Other'
+
+  describe 'isEOYSubArticle', ->
+
+    it 'returns true for a super-sub-article with matching super article id', ->
+      @article.set 'id', '1212'
+      @article.isEOYSubArticle(['12','23', '1212'], id: '1234').should.be.true()
+
+    it 'returns false if no sub articles', ->
+      @article.set 'id', '1213'
+      @article.isEOYSubArticle([], id: '1234').should.be.false()
+
+    it 'returns false if super article does not match', ->
+      @article.set 'id', '1213'
+      @article.isEOYSubArticle(['12','23', '1213'], id: '1236').should.be.false()
+
+    it 'returns false if article is a super article', ->
+      @article.set 'is_super_article', true
+      @article.isEOYSubArticle(['12','23', '1213'], id: '1234').should.be.false()

Q = require 'bluebird-q'
Backbone = require 'backbone'
{ fabricate } = require 'antigravity'
Article = require '../../models/article'
Articles = require '../../collections/articles'
sinon = require 'sinon'
fixtures = require '../helpers/fixtures'

describe "Article", ->
  beforeEach ->
    sinon.stub Backbone, 'sync'
      .returns Q.defer()
    @article = new Article

        data.superSubArticles.first().get('title').should.equal 'RelatedArticle 1'
        data.superSubArticles.last().get('title').should.equal 'RelatedArticle 2'
        done()
      return

  describe '#strip', ->
    it 'returns the attr without tags', ->
