Rename list spec stdout variable to drives

This commit is contained in:
Juan Cruz Viotti 2015-01-30 09:59:28 -04:00
parent 7beca02eda
commit 0b1d83a70b
2 changed files with 4 additions and 4 deletions

View File

@ -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'

View File

@ -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'