Skip to content

Commit

Permalink
Merge pull request #781 from pirj/fix-obscure-syntax-in-readme
Browse files Browse the repository at this point in the history
Change the old `Rspec` syntax in the example in README
  • Loading branch information
Darhazer authored Jul 10, 2019
2 parents 77fabdc + b4bbb65 commit e1f4244
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ Compatibility release so users can upgrade RuboCop to 0.51.0. No new features.
* Add [observed_nesting/max_nesting] info to `RSpec/NestedGroups` messages. ([@dgollahon][])
* Add `RSpec/ItBehavesLike` cop. ([@dgollahon][])
* Add `RSpec/SharedContext` cop. ([@Darhazer][])
* `Rspec/MultipleExpectations`: Count aggregate_failures block as single expectation. ([@Darhazer][])
* `RSpec/MultipleExpectations`: Count aggregate_failures block as single expectation. ([@Darhazer][])
* Fix `ExpectActual` cop flagging `rspec-rails` routing specs. ([@backus][])
* Fix `FilePath` cop not registering offenses for files like `spec/blog/user.rb` when it should be `spec/blog/user_spec.rb`. ([@backus][])

Expand Down Expand Up @@ -318,7 +318,7 @@ Compatibility release so users can upgrade RuboCop to 0.51.0. No new features.
* Update to rubocop 0.37.2. ([@nijikon][])
* Update ruby versions we test against. ([@nijikon][])
* Add `RSpec::NotToNot` cop. ([@miguelfteixeira][])
* Add `Rspec/AnyInstance` cop. ([@mlarraz][])
* Add `RSpec/AnyInstance` cop. ([@mlarraz][])

## 1.3.1

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ is a feature of RSpec itself – you can read about it in the [RSpec Documentati
Enforcing

```ruby
Rspec.describe MyClass do
RSpec.describe MyClass do
...
end
```
Expand Down

0 comments on commit e1f4244

Please sign in to comment.