Skip to content

Commit

Permalink
Merge pull request #28 from ekohl/rubocop
Browse files Browse the repository at this point in the history
Add a Rubocop config
  • Loading branch information
bastelfreak authored Aug 17, 2020
2 parents 9734511 + 450a349 commit cee43f5
Show file tree
Hide file tree
Showing 3 changed files with 560 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,13 @@ In your `spec/spec_helper.rb`
require 'voxpupuli/test/spec_helper'
```

In your `.rubocop.yml` (see [Rubocop's documentation](https://docs.rubocop.org/rubocop/configuration.html#inheriting-configuration-from-a-dependency-gem)).

```yaml
inherit_gem:
voxpupuli-test: rubocop.yml
```
# Fact handling
The recommended method is using [rspec-puppet-facts](https://github.com/mcanevet/rspec-puppet-facts) and is set up by default. This means the tests are writting as follows:
Expand Down
Loading

0 comments on commit cee43f5

Please sign in to comment.