Skip to content

Commit

Permalink
updating common files
Browse files Browse the repository at this point in the history
updating files: ["lockdown/serverspec/spec_helper.rb", "default/serverspec/spec_helper.rb", ".rubocop.yml"]
  • Loading branch information
arlimus committed Oct 27, 2014
1 parent 8b140c4 commit 9da1d9f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 16 deletions.
12 changes: 8 additions & 4 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
AllCops:
Excludes:
- vendor/**
Exclude:
- vendor/**/*
- metadata.rb
- '**/Puppetfile'
- Puppetfile

- test/**/*

Documentation:
Enabled: false
Expand All @@ -17,6 +17,10 @@ HashSyntax:
LineLength:
Enabled: false
MethodLength:
Max: 30
Max: 40
NumericLiterals:
MinDigits: 10
Metrics/CyclomaticComplexity:
Max: 10
Metrics/PerceivedComplexity:
Max: 10
6 changes: 0 additions & 6 deletions default/serverspec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,4 @@
require 'serverspec'

set :backend, :exec

RSpec.configure do |c|
c.before :all do
c.path = '/sbin:/usr/sbin'
end
end
end
6 changes: 0 additions & 6 deletions lockdown/serverspec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,4 @@
require 'serverspec'

set :backend, :exec

RSpec.configure do |c|
c.before :all do
c.path = '/sbin:/usr/sbin'
end
end
end

0 comments on commit 9da1d9f

Please sign in to comment.