-
- Downloads
fix(rubocop): fix violations using `rubocop -a`
```bash Inspecting 5 files Scanning /home/imran/Salt/formulas/haproxy-formula/Gemfile .Scanning /home/imran/Salt/formulas/haproxy-formula/bin/kitchen .Scanning /home/imran/Salt/formulas/haproxy-formula/test/integration/default/controls/config.rb CScanning /home/imran/Salt/formulas/haproxy-formula/test/integration/default/controls/package.rb CScanning /home/imran/Salt/formulas/haproxy-formula/test/integration/default/controls/service.rb C Offenses: test/integration/default/controls/config.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string literal comment. title 'Verify haproxy configuration' ^ test/integration/default/controls/config.rb:9:1: C: Layout/TrailingEmptyLines: 1 trailing blank lines detected. test/integration/default/controls/package.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string literal comment. title 'Verify haproxy installation' ^ test/integration/default/controls/package.rb:4:1: C: Layout/IndentationWidth: Use 2 (not 4) spaces for indentation. it { should be_installed } ^^^^ test/integration/default/controls/package.rb:6:1: C: Layout/TrailingEmptyLines: 1 trailing blank lines detected. test/integration/default/controls/service.rb:1:1: C: Style/FrozenStringLiteralComment: Missing frozen string literal comment. title 'Verify haproxy service' ^ test/integration/default/controls/service.rb:8:1: C: Layout/TrailingEmptyLines: 2 trailing blank lines detected. 5 files inspected, 7 offenses detected ```
Showing
- test/integration/default/controls/config.rb 2 additions, 1 deletiontest/integration/default/controls/config.rb
- test/integration/default/controls/package.rb 3 additions, 2 deletionstest/integration/default/controls/package.rb
- test/integration/default/controls/service.rb 2 additions, 2 deletionstest/integration/default/controls/service.rb