Sha256: 1f77c02e82e766c148d57a53022158004a4f67d5778077ea6033f7b34d8196c3

Contents?: true

Size: 376 Bytes

Versions: 9

Compression:

Stored size: 376 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

9 entries across 9 versions & 3 rubygems

Version Path
metric_fu-4.13.0 spec/metric_fu/metrics/reek/configuration_spec.rb
fastruby-metric_fu-5.0.0 spec/metric_fu/metrics/reek/configuration_spec.rb
code_metric_fu-4.14.4 spec/metric_fu/metrics/reek/configuration_spec.rb
code_metric_fu-4.14.3 spec/metric_fu/metrics/reek/configuration_spec.rb
code_metric_fu-4.14.2 spec/metric_fu/metrics/reek/configuration_spec.rb
code_metric_fu-4.14.1 spec/metric_fu/metrics/reek/configuration_spec.rb
code_metric_fu-4.14.0 spec/metric_fu/metrics/reek/configuration_spec.rb
metric_fu-4.12.0 spec/metric_fu/metrics/reek/configuration_spec.rb
metric_fu-4.11.4 spec/metric_fu/metrics/reek/configuration_spec.rb