Sha256: cf73f50026d0213da591bc34f3731f13658c0c958e2bcdc507956ce06c1a7b70

Contents?: true

Size: 470 Bytes

Versions: 9

Compression:

Stored size: 470 Bytes

Contents

require "spec_helper"
require "shared/configured"

describe MetricFu::Configuration, "for flog" do
  it_behaves_like "configured" do
    if MetricFu.configuration.mri?
      it "should set @flog to {:dirs_to_flog => @code_dirs}" do
        load_metric "flog"
        expect(MetricFu::Metric.get_metric(:flog).run_options).to eq(
          all: true,
          continue: true,
          dirs_to_flog: ["lib"],
          quiet: true
         )
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

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