Skip to content

Commit

Permalink
Add a Rubocop config
Browse files Browse the repository at this point in the history
  • Loading branch information
ekohl committed Aug 12, 2020
1 parent 9734511 commit 450a349
Show file tree
Hide file tree
Showing 3 changed files with 560 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
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

0 comments on commit 450a349

Please sign in to comment.