Skip to content

Commit

Permalink
Removed redundant test
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaStorm committed Jun 9, 2016
1 parent 2607af7 commit 61600c0
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions specs/lib/gltfPipelineSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,22 +83,11 @@ describe('gltfPipeline', function() {
});
var options = {};
processFileToDisk(gltfPath, outputPath, options, function() {
expect(spy).toHaveBeenCalled();
expect(spy.calls.first().args[0]).toEqual('output/output');
done();
});
});

it('will write a file', function(done) {
var spy = spyOn(fs, 'writeFile').and.callFake(function(file, data, callback) {
callback();
});
var options = { 'createDirectory' : false };
processFileToDisk(gltfPath, outputPath, options, function() {
expect(spy.calls.first().args[0]).toEqual('./output/');
done();
});
});

it('will write a file from JSON', function(done) {
var spy = spyOn(fs, 'writeFile').and.callFake(function(file, data, callback) {
callback();
Expand Down

0 comments on commit 61600c0

Please sign in to comment.