Sha256: 574be0fbd034ceb6166a0917fe8cb4fa2daa0cfc402eaf6dcfeadea9abff4d02
Contents?: true
Size: 658 Bytes
Versions: 9
Compression:
Stored size: 658 Bytes
Contents
require "spec_helper" require "shared/configured" describe MetricFu::Configuration, "for cane" do it_behaves_like "configured" do if MetricFu.configuration.mri? it "should set @cane to " + ':dirs_to_cane => @code_dirs, :abc_max => 15, :line_length => 80, :no_doc => "n", :no_readme => "y"' do load_metric "cane" expect(MetricFu::Metric.get_metric(:cane).run_options).to eq( dirs_to_cane: directory("code_dirs"), filetypes: ["rb"], abc_max: 15, line_length: 80, no_doc: "n", no_readme: "n" ) end end end # end it_behaves end
Version data entries
9 entries across 9 versions & 3 rubygems