Sha256: fd3fc5be47f39ee93e7e304b5a7b48d9a6588ed6e52bd5c453974887d1365381

Contents?: true

Size: 445 Bytes

Versions: 9

Compression:

Stored size: 445 Bytes

Contents

require "spec_helper"
require "shared/configured"

describe MetricFu::Configuration, "for churn" do
  it_behaves_like "configured" do
    it "should set @churn to {}" do
      load_metric "churn"
      expect(MetricFu::Metric.get_metric(:churn).run_options).to eq(
               start_date: '"1 year ago"', minimum_churn_count: 10, ignore_files: [], data_directory: MetricFu::Io::FileSystem.scratch_directory("churn")
      )
    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

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