Sha256: 8a4e8c5b95d121690d3aecf0bec22721bc3af29984b47c3e2fce54b806127eec

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

require 'spec_helper'
require 'shared/configured'

describe MetricFu::Configuration, 'for reek' do
  it_behaves_like 'configured' do
    it 'should set @reek to {:dirs_to_reek => @code_dirs}' do
      load_metric 'reek'
      expect(MetricFu::Metric.get_metric(:reek).run_options).to eq(
              {:config_file_pattern=>nil, :dirs_to_reek => ['lib']}
      )
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
metric_fu-4.11.1 spec/metric_fu/metrics/reek/configuration_spec.rb
metric_fu-4.11.0 spec/metric_fu/metrics/reek/configuration_spec.rb