Sha256: f4ae2c5b2bc5773dfac4cc1f08f35d4f0683cc727adee554228400195b99f681

Contents?: true

Size: 369 Bytes

Versions: 13

Compression:

Stored size: 369 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
process_helper-0.1.2 spec/static_analysis_spec.rb
process_helper-0.1.2.pre.beta.1 spec/static_analysis_spec.rb
process_helper-0.1.1 spec/static_analysis_spec.rb
process_helper-0.1.1.pre.beta.1 spec/static_analysis_spec.rb
process_helper-0.1.0 spec/static_analysis_spec.rb
process_helper-0.0.4 spec/static_analysis_spec.rb
process_helper-0.0.4.pre.beta.5 spec/static_analysis_spec.rb
process_helper-0.0.4.pre.beta.4 spec/static_analysis_spec.rb
process_helper-0.0.4.pre.beta.3 spec/static_analysis_spec.rb
process_helper-0.0.4.pre.beta.2 spec/static_analysis_spec.rb
process_helper-0.0.3 spec/static_analysis_spec.rb
process_helper-0.0.2 spec/static_analysis_spec.rb
process_helper-0.0.1 spec/static_analysis_spec.rb