Skip to content

Commit

Permalink
Rubocop: Fix Layout/IndentHash
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjfisher committed Feb 13, 2018
1 parent 6ac05d4 commit 1a9958a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
11 changes: 1 addition & 10 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This configuration was generated by
# `rubocop --auto-gen-config`
# on 2018-02-08 21:13:10 +0000 using RuboCop version 0.49.1.
# on 2018-02-13 19:56:55 +0000 using RuboCop version 0.49.1.
# The point is for the user to remove these configuration records
# one by one as the offenses are removed from the code base.
# Note that changes in the inspected code, or installation of new
Expand All @@ -13,15 +13,6 @@ Layout/IndentAssignment:
Exclude:
- 'spec/acceptance/plugin_spec.rb'

# Offense count: 2
# Cop supports --auto-correct.
# Configuration parameters: EnforcedStyle, SupportedStyles, IndentationWidth.
# SupportedStyles: special_inside_parentheses, consistent, align_braces
Layout/IndentHash:
Exclude:
- 'spec/classes/jenkins_users_spec.rb'
- 'spec/defines/jenkins_augeas_spec.rb'

# Offense count: 13
# Cop supports --auto-correct.
Layout/MultilineBlockLayout:
Expand Down
2 changes: 1 addition & 1 deletion spec/classes/jenkins_users_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
{ user_hash: { 'user' => {
'email' => '[email protected]',
'password' => 'test'
} } }
} } }
end

it { is_expected.to contain_jenkins__user('user').with_email('[email protected]').with_password('test') }
Expand Down
8 changes: 4 additions & 4 deletions spec/defines/jenkins_augeas_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,10 +61,10 @@

describe 'with plugin_version set' do
let (:params) do {
config_filename: 'foo.xml',
changes: [],
plugin_version: '0.1',
plugin: true
config_filename: 'foo.xml',
changes: [],
plugin_version: '0.1',
plugin: true
}
end

Expand Down

0 comments on commit 1a9958a

Please sign in to comment.