README.md in danger-spec_postfix-0.0.6 vs README.md in danger-spec_postfix-0.0.7

- old
+ new

@@ -13,23 +13,23 @@ For example in order to make sure that all tests in your 'spec/' folder have required postfix '_spec' (this is the purpose plugin was initially built for) add: ``` options = { message: 'Tests should have `_spec` postfix', - scope: %r{spec/}, + include_path: %r{spec/}, match: %r{_spec.rb$} } spec_postfix.lint(options) ``` - You can also pass `exceptions` param in order to skip irrelevant files or directories: + You can also pass `exclude_path` param in order to skip irrelevant files or directories: ``` options = { message: 'Tests should have `_spec` postfix', - scope: %r{spec/}, + include_path: %r{spec/}, match: %r{_spec.rb$} - exception: Regexp.union(%r{rails_helper.rb}, %r{rails_helper.rb}, %{spec/factories/}, %r{spec/support/}) + exclude_path: Regexp.union(%r{rails_helper.rb}, %r{rails_helper.rb}, %{spec/factories/}, %r{spec/support/}) } spec_postfix.lint(options) ``` 2. Get warnings: