Skip to content

Commit

Permalink
[enb#425] create test file for techs/write-file
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelpower committed Jan 19, 2016
1 parent 060499f commit 7505f6d
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions test/techs/write-file.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
var mockFS = require('mock-fs'),
MockNode = require('mock-enb/lib/mock-node'),
FileProviderTech = require('../../techs/write-file');

describe('techs/write-file', function () {
var bundle,
resolveSpy,
rejectSpy;

beforeEach(function () {
bundle = new MockNode('bundle');
resolveSpy = sinon.spy(bundle, 'resolveTarget');
rejectSpy = sinon.spy(bundle, 'rejectTarget');
});

afterEach(function () {
mockFS.restore();
});

it('should write target file to file system', function () {

});

});

0 comments on commit 7505f6d

Please sign in to comment.