require_relative 'spec_helper' describe 'static analysis checks' do include ProcessHelper it 'ruby-lint' do process( "ruby-lint #{File.expand_path('../../spec', __FILE__)}", puts_output: :error ) end it 'rubocop' do process( "rubocop -c #{File.expand_path('../../.rubocop.yml', __FILE__)}", puts_output: :error) end end