From 0b1d83a70b95619f88cd29b77872c67366e6ada1 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Fri, 30 Jan 2015 09:59:28 -0400 Subject: [PATCH] Rename list spec stdout variable to drives --- lib/drive/osx.spec.coffee | 4 ++-- lib/drive/win32.spec.coffee | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/drive/osx.spec.coffee b/lib/drive/osx.spec.coffee index 4ba5f5a0..7caddf10 100644 --- a/lib/drive/osx.spec.coffee +++ b/lib/drive/osx.spec.coffee @@ -30,10 +30,10 @@ describe 'Drive OSX:', -> @childProcessStub.restore() it 'should extract the necessary information', (done) -> - osx.list (error, stdout) -> + osx.list (error, drives) -> expect(error).to.not.exist - expect(stdout).to.deep.equal [ + expect(drives).to.deep.equal [ { device: '/dev/disk0' description: 'GUID_partition_scheme' diff --git a/lib/drive/win32.spec.coffee b/lib/drive/win32.spec.coffee index 4f13189c..51ab1688 100644 --- a/lib/drive/win32.spec.coffee +++ b/lib/drive/win32.spec.coffee @@ -21,10 +21,10 @@ describe 'Drive WIN32:', -> @childProcessStub.restore() it 'should extract the necessary information', (done) -> - win32.list (error, stdout) -> + win32.list (error, drives) -> expect(error).to.not.exist - expect(stdout).to.deep.equal [ + expect(drives).to.deep.equal [ { device: '\\\\.\\PHYSICALDRIVE0' description: 'WDC WD10JPVX-75JC3T0'