Skip to content

Commit

Permalink
Rubocop: Fix Style/NestedParenthesizedCalls
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjfisher committed Feb 13, 2018
1 parent 9700fa4 commit acd1876
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -157,9 +157,3 @@ Style/GlobalVars:
Style/GuardClause:
Exclude:
- 'lib/puppet/x/jenkins/provider/cli.rb'

# Offense count: 2
# Cop supports --auto-correct.
Style/NestedParenthesizedCalls:
Exclude:
- 'spec/unit/puppet/x/spec_jenkins_providers.rb'
4 changes: 2 additions & 2 deletions spec/unit/puppet/x/spec_jenkins_providers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
it do
expect(confines).to include(
be_kind_of(Puppet::Confine::Feature).
and have_attributes(values: [:retries])
and(have_attributes(values: [:retries]))
)
end
end
Expand All @@ -23,7 +23,7 @@
it do
expect(confines).to include(
be_kind_of(Puppet::Confine::Exists).
and have_attributes(values: ['java'])
and(have_attributes(values: ['java']))
)
end
end
Expand Down

0 comments on commit acd1876

Please sign in to comment.