Skip to content

Update for new gem version of puppetlabs_spec_helper #73

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

Merged
merged 2 commits into from
Jun 27, 2012

Conversation

branan
Copy link
Contributor

@branan branan commented May 29, 2012

This updates the Rakefile and spec_helper to use the common versions available in the puppetlabs_spec_helper rubygem branch. This mostly just removes a bunch of duplicated code, but it also gives us more flexibility in how the module is tested in the future.

The .gemspec has been tested using Travis-CI, and the tests are confirmed to work correctly in that environment

This updates the Rakefile and spec_helper to use the common versions
available in the puppetlabs_spec_helper rubygem branch. This mostly
just removes a bunch of duplicated code, but it also gives us more
flexibility in how the module is tested in the future.
RSpec::Core::RakeTask.new(:coverage) do |t|
t.rcov = true
t.rcov_opts = ['--exclude', 'spec']
end

Choose a reason for hiding this comment

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

awesome

@cprice404
Copy link

This is great. I really wanted to do this when I was working on puppetlabs_spec_helper a few months ago but didn't get a chance. I think there are a couple of minor kinks to work out in the pull request to puppetlabs_spec_helper itself before this can go through, but this is fantastic.

cprice404 added a commit that referenced this pull request Jun 27, 2012
Update for new gem version of puppetlabs_spec_helper
@cprice404 cprice404 merged commit 29f8f89 into puppetlabs:master Jun 27, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants