Skip to content
This repository was archived by the owner on Oct 30, 2019. It is now read-only.

Conversation

@luckyraul
Copy link
Contributor

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 93.113% when pulling 455396b on luckyraul:volume into a3dd79a on puppetlabs:master.

Copy link
Contributor

@garethr garethr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @luckyraul. The code for this looks good. At the moment the tests are failing as the assertions are against the wrong context attributes, but that should just be a matter of fixing the wording indicated in the comments. Thanks for adding too.

volume: '/var/www',
}
end
it 'should expand the port to an array' do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should refer to the volume rather than the port

}
end
it 'should expand the port to an array' do
expect(context).to include(expose: ['/var/www'])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should make an assertion against the volume attribute rather than expose

volume: '/var/www,/var/lib',
}
end
it 'should expand the labels to an array' do
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should refer to volume rather than the labels

}
end
it 'should expand the labels to an array' do
expect(context[:expose]).to include('/var/www','/var/lib')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As above this should refer to volume rather than expose

@coveralls
Copy link

Coverage Status

Coverage increased (+0.1%) to 93.113% when pulling 14bb30b on luckyraul:volume into a3dd79a on puppetlabs:master.

@garethr
Copy link
Contributor

garethr commented Mar 5, 2017

@luckyraul neat addition. Thanks again.

@garethr garethr merged commit 960404a into puppetlabs-toy-chest:master Mar 5, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants