mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-04-07 11:26:41 +00:00
Rename list spec stdout variable to drives
This commit is contained in:
parent
7beca02eda
commit
0b1d83a70b
@ -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'
|
||||
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user