Update image list to fetch images from GitHub

This commit is contained in:
Andrew Miner
2015-06-07 14:13:30 -07:00
parent dd760018df
commit 2227e81b8b
10 changed files with 118 additions and 19 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ list = null
describe 'markdown_image_list.coffee', ->
beforeEach ->
list = new MarkdownImageList
list = new MarkdownImageList {}, client:{fetchFile:sinon.stub().returns(w.promise(->))}
describe '_analyzeMarkdownText', ->
+1
View File
@@ -16,6 +16,7 @@ global.Backbone = require 'backbone'
global.assert = chai.assert
global.expect = chai.expect
global.should = chai.should()
global.sinon = require 'sinon'
global.util = require 'util'
global.w = require 'when'