Sha256: 025d906589ed1c25e01fe6416e8ddd82b6df97b7728a8e560e23664aaef4a9f6
Contents?: true
Size: 958 Bytes
Versions: 9
Compression:
Stored size: 958 Bytes
Contents
require "spec_helper" require "shared/configured" describe MetricFu::Configuration, "for saikuro" do it_behaves_like "configured" do it "should set @saikuro to { :output_directory => @scratch_directory + '/saikuro', :input_directory => @code_dirs, :cyclo => '', :filter_cyclo => '0', :warn_cyclo => '5', :error_cyclo => '7', :formater => 'text' }" do load_metric "saikuro" expect(MetricFu::Metric.get_metric(:saikuro).run_options).to eq( output_directory: "#{scratch_directory}/saikuro", input_directory: ["lib"], cyclo: "", filter_cyclo: "0", warn_cyclo: "5", error_cyclo: "7", formater: "text" ) end end end
Version data entries
9 entries across 9 versions & 3 rubygems