Sha256: a6f6d8dd98876c212a31c249a86ba24e0797fdba122714128ba4230f870319a6

Contents?: true

Size: 467 Bytes

Versions: 9

Compression:

Stored size: 467 Bytes

Contents

require "spec_helper"
require "shared/configured"

describe MetricFu::Configuration, "for roodi" do
  it_behaves_like "configured" do
    it "should set @roodi to {:dirs_to_roodi => @code_dirs}" do
      load_metric "roodi"
      expect(MetricFu::Metric.get_metric(:roodi).run_options).to eq(
               dirs_to_roodi: directory("code_dirs"),
               roodi_config: "#{directory('root_directory')}/config/roodi_config.yml"
              )
    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

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