Sha256: c538162ccfae90f31b23cc0c3e701bcc59c2e12cfe7b580b104f5e9a7e43bdc6

Contents?: true

Size: 370 Bytes

Versions: 9

Compression:

Stored size: 370 Bytes

Contents

require "spec_helper"
require "shared/configured"

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

Version data entries

9 entries across 9 versions & 3 rubygems

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