/** @overview Mocha test case. */

var assert = require('assert'),
    newScenarioTestContext = require('../../../serverside/context/new_scenario_test_context'),
    newPixabayGalleryRenderBatch = require('../../../serverside/batch/new_pixabay_gallery_render_batch');


describe('PixabayGalleryRender', function () {
    var batch;
    beforeEach(function (done) {
        var context = newScenarioTestContext();
        batch = newPixabayGalleryRenderBatch(context);
        done();
    });

    afterEach(function (done) {
        done();
    });

    it('Run a pixabay gallery render batch', function (done) {
        batch.run(function (err) {
            assert.ifError(err);
            done();
        });
    });
});