Skip to content

Commit

Permalink
Use RuboCop RSpec 2.26
Browse files Browse the repository at this point in the history
This commit makes this repo to use RuboCop RSpec 2.26 and suppress the following new offense:

```console
$ bundle exec rubocop

spec/project_spec.rb:263:11: C: [Correctable] RSpec/ExampleWording:
Do not use the future tense when describing your tests.
      it 'will not have a directory' do
          ^^^^^^^^^^^^^^^^^^^^^^^^^
```
  • Loading branch information
koic committed Jan 6, 2024
1 parent 87b1d68 commit cb01e4d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ gem 'rake'
gem 'rspec'
gem 'rubocop', github: 'rubocop/rubocop'
gem 'rubocop-performance', '~> 1.20.0'
gem 'rubocop-rspec', '~> 2.25.0'
gem 'rubocop-rspec', '~> 2.26.0'
gem 'simplecov'
gem 'test-queue'
gem 'yard', '~> 0.9'
Expand Down
2 changes: 1 addition & 1 deletion spec/project_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@

dir = File.expand_path('../changelog', __dir__)

it 'will not have a directory' do
it 'does not have a directory' do
expect(Dir["#{dir}/*"].none? { |path| File.directory?(path) }).to be(true)
end

Expand Down

0 comments on commit cb01e4d

Please sign in to comment.