Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chefspec update #168

Merged
merged 5 commits into from
Dec 2, 2014
Merged

Chefspec update #168

merged 5 commits into from
Dec 2, 2014

Conversation

jjasghar
Copy link
Contributor

This is an inital commit of some generic chefspec
tests for the rabbitmq cookbook. I've tied it up to
the rake travis task so when this is merged we can
have it run as part of the PR process.

Again this is just an example and a start, we can attempt
to test the LWRPs at a later date.

Comments are more than welcome.

JJ Asghar added 2 commits November 26, 2014 19:25
This is an inital commit of some generic chefspec
tests for the rabbitmq cookbook. I've tied it up to
the `rake travis` task so when this is merged we can
have it run as part of the PR process.

Again this is just an example and a start, we can attempt
to test the LWRPs at a later date.

Comments are more than welcome.

let(:file_cache_path) { Chef::Config[:file_cache_path] }

version = '3.3.5'
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe define this at the beginning and use it for node.default['rabbitmq']['version'] to avoid replicated definitions of the version (also this should probably be '3.3.5-1' ?)

I attempted to get the version in object, but i couldn't seem to get it
correct. Any advice or suggestions are more than welcome.

I'd like to merge this ASAP so I can update to 3.4.2 this week.

describe 'rabbitmq::default' do

version = '3.3.5-1'
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I don't like this line.

jjasghar pushed a commit that referenced this pull request Dec 2, 2014
@jjasghar jjasghar merged commit 37e96d2 into master Dec 2, 2014
@jjasghar jjasghar deleted the chefspec_update branch December 3, 2014 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants