Skip to content

Commit

Permalink
(CONT-792) - Correct RSpec/ExampleWording
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Apr 19, 2023
1 parent c598e08 commit a3aa06f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,13 +76,6 @@ RSpec/DescribeClass:
RSpec/ExampleLength:
Max: 53

# Offense count: 2
# This cop supports safe autocorrection (--autocorrect).
# Configuration parameters: CustomTransform, IgnoredWords, DisallowedExamples.
# DisallowedExamples: works
RSpec/ExampleWording:
Exclude:
- 'spec/classes/globals_spec.rb'

# Offense count: 3
RSpec/ExpectInHook:
Expand Down
4 changes: 2 additions & 2 deletions spec/classes/globals_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
include_examples 'Debian 11'

describe 'with no parameters' do
it 'works' do
it 'executes successfully' do
is_expected.to contain_class('postgresql::globals')
end
end
Expand All @@ -29,7 +29,7 @@
include_examples 'RedHat 7'

describe 'with no parameters' do
it 'works' do
it 'executes successfully' do
is_expected.to contain_class('postgresql::globals')
end
end
Expand Down

0 comments on commit a3aa06f

Please sign in to comment.