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

Add more chefspec tests #193

Merged
merged 1 commit into from
Feb 3, 2015
Merged

Add more chefspec tests #193

merged 1 commit into from
Feb 3, 2015

Conversation

wenchma
Copy link
Contributor

@wenchma wenchma commented Dec 30, 2014

Add some missing spec tests to cover more chef resources,
but it reports some same untouched resources repeatedly
for many times.

Fixes issue #190

@jjasghar
Copy link
Contributor

@wenchma it looks like we got some travis failures.

@jjasghar
Copy link
Contributor

jjasghar commented Jan 2, 2015

I think this is in reference to something like this: https://github.com/jjasghar/rabbitmq/pull/168/files#diff-55bf87238c9b8af164c5133a60721f12R169

@jjasghar
Copy link
Contributor

jjasghar commented Jan 8, 2015

@wenchma I tried fixing these errors, couldnt fix it :(.

Can you rip out those tests, so we can get this merged in?

@wenchma
Copy link
Contributor Author

wenchma commented Jan 12, 2015

updated the PR for spec tests

@wenchma wenchma force-pushed the issue#190 branch 3 times, most recently from 6beb17c to a15f343 Compare January 13, 2015 07:21
@wenchma
Copy link
Contributor Author

wenchma commented Jan 13, 2015

~/rabbitmq$ rspec spec/
....................................

Finished in 1 minute 28.43 seconds (files took 4.51 seconds to load)
36 examples, 0 failures

ChefSpec Coverage report generated...

Total Resources: 23
Touched Resources: 23
Touch Coverage: 100.0%

You are awesome and so is your test coverage! Have a fantastic day!

@wenchma
Copy link
Contributor Author

wenchma commented Jan 13, 2015

@jjasghar success to run rspec on my local env, but the travis CI build failed, it confused me.

@jjasghar
Copy link
Contributor

Man, i try it on my local box, checking out your branch, and i get errors all over the place.

are you running this on a box with rabbitmq installed on it? I'm not and i'm seeing errors.

I'm gonna close the issue #190 so we have the conversation in one place.

@jjasghar
Copy link
Contributor

jjasghar commented Feb 2, 2015

@wenchma can you rebase this guy and see if travis'll pass now? I think i've fixed things upstream.

@wenchma
Copy link
Contributor Author

wenchma commented Feb 3, 2015

@jjasghar Ok. I will rebase it and update the PR

@wenchma
Copy link
Contributor Author

wenchma commented Feb 3, 2015

have updated the PR, and the coverage result:
Finished in 1 minute 28.65 seconds (files took 4.43 seconds to load)
38 examples, 0 failures

ChefSpec Coverage report generated...

Total Resources: 23
Touched Resources: 23
Touch Coverage: 100.0%

You are awesome and so is your test coverage! Have a fantastic day!

Add some missing spec tests to cover more chef resources,
but it reports some same untouched resources repeatedly
for many times.

Fixes issue rabbitmq#190
jjasghar pushed a commit that referenced this pull request Feb 3, 2015
@jjasghar jjasghar merged commit bfab274 into rabbitmq:master Feb 3, 2015
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.

2 participants