 fs = require 'fs'
 helpers = require './helpers'
 expect = require('chai').expect
-
 store = {}
 
 describe 'Read operations', ->

            @client.saveFile url, downloadPath, done

        it "should not change the file", ->
            fileStats = fs.statSync(fixtures.basePhoto1.thumbpath)
            resultStats = fs.statSync(downloadPath)
            expect(resultStats.size).to.equal fileStats.size

    describe 'ZIP - GET /albums/:id.zip', ->

            url = "albums/#{store.id}.zip"
            @client.saveFile url, downloadPath , done

        it "should generate a zip", ->
            exist = fs.existsSync downloadPath
            expect(exist).to.equal true