diff options
author | John Keiser <jkeiser@opscode.com> | 2014-04-22 11:39:24 -0700 |
---|---|---|
committer | John Keiser <jkeiser@opscode.com> | 2014-04-22 11:59:40 -0700 |
commit | 5a7b4a30fb75c58b7944b4a5612883e5470539de (patch) | |
tree | e7e5ecb8b4da94e4e3b15eb23493248af105853e /spec/spec_helper.rb | |
parent | d12cffbdfd4c55b3ddeec45f5bcb30719a298c83 (diff) | |
download | chef-5a7b4a30fb75c58b7944b4a5612883e5470539de.tar.gz |
Run Pedant against local mode in Travis
Diffstat (limited to 'spec/spec_helper.rb')
-rw-r--r-- | spec/spec_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 2de0cae0ed..09e7642d98 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -82,6 +82,7 @@ require 'spec/support/platform_helpers' # Do not change the gsub. Dir["spec/support/**/*.rb"]. reject { |f| f =~ %r{^spec/support/platforms} }. + reject { |f| f =~ %r{^spec/support/pedant} }. map { |f| f.gsub(%r{.rb$}, '') }. map { |f| f.gsub(%r[spec/], '')}. each { |f| require f } |