README.md in rubocop-rspec-1.33.0 vs README.md in rubocop-rspec-1.34.0
- old
+ new
@@ -30,14 +30,22 @@
### RuboCop configuration file
Put this into your `.rubocop.yml`.
-```
+```yaml
require: rubocop-rspec
```
+Alternatively, use the following array notation when specifying multiple extensions.
+
+```yaml
+require:
+ - rubocop-other-extension
+ - rubocop-rspec
+```
+
Now you can run `rubocop` and it will automatically load the RuboCop RSpec
cops together with the standard cops.
### Command line
@@ -117,10 +125,10 @@
### Enforcing an explicit RSpec receiver for top-level methods (disabling monkey patching)
Enforcing
```ruby
-Rspec.describe MyClass do
+RSpec.describe MyClass do
...
end
```
over