Skip to content

Commit

Permalink
Use gltfEmbeddedPath
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaStorm committed Jun 21, 2016
1 parent 75fa5d0 commit d6970eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions specs/lib/gltfPipelineSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ describe('gltfPipeline', function() {

it('will write sources from JSON', function(done) {
var options = {};
readGltf(gltfPath, options, function (gltf) {
readGltf(gltfEmbeddedPath, options, function (gltf) {
var initialUri = gltf['buffers'].CesiumTexturedBoxTest.uri;
processJSON(gltf, options, function () {
var finalUri = gltf['buffers'].CesiumTexturedBoxTest.uri;
Expand All @@ -129,9 +129,9 @@ describe('gltfPipeline', function() {

it('will write sources from file', function(done) {
var options = {};
readGltf(gltfPath, options, function (gltf) {
readGltf(gltfEmbeddedPath, options, function (gltf) {
var initialUri = gltf['buffers'].CesiumTexturedBoxTest.uri;
processFile(gltfPath, options, function (gltfFinal) {
processFile(gltfEmbeddedPath, options, function (gltfFinal) {
var finalUri = gltfFinal['buffers'].CesiumTexturedBoxTest.uri;
expect(initialUri).not.toEqual(finalUri);
done();
Expand Down

0 comments on commit d6970eb

Please sign in to comment.