Skip to content

Commit

Permalink
fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger authored and joseivanlopez committed Aug 6, 2018
1 parent 713ddfa commit c5499a7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .rubocop.yml
Expand Up @@ -34,6 +34,10 @@ Style/AccessorMethodName:
Exclude:
- library/systemd/src/modules/systemd_target.rb

# set reasonable ruby version
AllCops:
TargetRubyVersion: 2.2

# UI_ID module is not camel case
Style/ClassAndModuleCamelCase:
Enabled: false
Expand Down
2 changes: 1 addition & 1 deletion library/systemd/test/yast2/service_configuration.rb
Expand Up @@ -7,7 +7,7 @@
describe Yast2::ServiceConfiguration do
describe ".new" do
it "raises ArgumentError if non service is passed" do
expect{described_class.new(nil)}.to raise_error(ArgumentError)
expect { described_class.new(nil) }.to raise_error(ArgumentError)
end
end

Expand Down

0 comments on commit c5499a7

Please sign in to comment.