-
Notifications
You must be signed in to change notification settings - Fork 423
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
Chefspec update #168
Conversation
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' |
There was a problem hiding this comment.
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' |
There was a problem hiding this comment.
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.
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 canhave 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.