diff --git a/lib/child-writer/writer-proxy.js b/lib/child-writer/writer-proxy.js index 30b6113a..c74a250d 100644 --- a/lib/child-writer/writer-proxy.js +++ b/lib/child-writer/writer-proxy.js @@ -1,5 +1,5 @@ /* - * Copyright 2017 resin.io + * Copyright 2016 resin.io * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tests/shared/permissions.spec.js b/tests/shared/permissions.spec.js index 559eed23..20f4816f 100644 --- a/tests/shared/permissions.spec.js +++ b/tests/shared/permissions.spec.js @@ -39,7 +39,7 @@ describe('Shared: permissions', function() { m.chai.expect(permissions.getEnvironmentCommandPrefix()).to.deep.equal([]); }); - it('should return an empty array environment is an empty object', function() { + it('should return an empty array if the environment is an empty object', function() { m.chai.expect(permissions.getEnvironmentCommandPrefix({})).to.deep.equal([]); }); @@ -76,11 +76,11 @@ describe('Shared: permissions', function() { it('should ignore undefined and null variable values', function() { m.chai.expect(permissions.getEnvironmentCommandPrefix({ FOO: null, - BAR: undefined, - BAZ: 'qux' + BAR: 'qux', + BAZ: undefined })).to.deep.equal([ 'set', - 'BAZ=qux', + 'BAR=qux', '&&', 'call' ]); @@ -122,7 +122,7 @@ describe('Shared: permissions', function() { m.chai.expect(permissions.getEnvironmentCommandPrefix()).to.deep.equal([]); }); - it('should return an empty array environment is an empty object', function() { + it('should return an empty array if the environment is an empty object', function() { m.chai.expect(permissions.getEnvironmentCommandPrefix({})).to.deep.equal([]); }); @@ -151,11 +151,11 @@ describe('Shared: permissions', function() { it('should ignore undefined and null variable values', function() { m.chai.expect(permissions.getEnvironmentCommandPrefix({ FOO: null, - BAR: undefined, - BAZ: 'qux' + BAR: 'qux', + BAZ: undefined })).to.deep.equal([ 'env', - 'BAZ=qux' + 'BAR=qux' ]); }); @@ -189,7 +189,7 @@ describe('Shared: permissions', function() { m.chai.expect(permissions.getEnvironmentCommandPrefix()).to.deep.equal([]); }); - it('should return an empty array environment is an empty object', function() { + it('should return an empty array if the environment is an empty object', function() { m.chai.expect(permissions.getEnvironmentCommandPrefix({})).to.deep.equal([]); }); @@ -218,11 +218,11 @@ describe('Shared: permissions', function() { it('should ignore undefined and null variable values', function() { m.chai.expect(permissions.getEnvironmentCommandPrefix({ FOO: null, - BAR: undefined, - BAZ: 'qux' + BAR: 'qux', + BAZ: undefined })).to.deep.equal([ 'env', - 'BAZ=qux' + 'BAR=qux' ]); });