mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
got failing acceptence test
This commit is contained in:
parent
d09a4cb275
commit
d6146b2970
1 changed files with 12 additions and 0 deletions
|
@ -150,3 +150,15 @@ describe "Archiving", ->
|
|||
for doc, i in non_deleted_docs
|
||||
doc.lines.should.deep.equal @docs[i].lines
|
||||
done()
|
||||
|
||||
describe "Unarchiving automatically", ->
|
||||
it "should unarchive the docs ", (done) ->
|
||||
DocstoreClient.archiveAllDoc @project_id, (error, res) =>
|
||||
DocstoreClient.getDoc @project_id, @docs[0]._id, {}, (error, res, doc) =>
|
||||
doc.lines.should.deep.equal @docs[0].lines
|
||||
doc.version.should.equal @docs[0].version
|
||||
doc.ranges.should.deep.equal @docs[0].ranges
|
||||
done()
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue