spec/config_spec.rb in p8-metric_fu-0.9.0.5 vs spec/config_spec.rb in p8-metric_fu-0.9.0.6

- old
+ new

@@ -17,11 +17,11 @@ end end describe "metrics" do it "should be configurable" do - MetricFu.metrics.should == [:churn, :coverage, :flay, :flog, :reek, :roodi, :saikuro] + MetricFu.metrics.should == [:churn, :coverage, :flay, :flog, :heckle, :reek, :roodi, :saikuro] MetricFu::Configuration.run do |config| config.metrics = [:coverage, :flog] end MetricFu.metrics.should == [:coverage, :flog] end @@ -29,16 +29,16 @@ describe "default metrics" do it "should have :stats for rails projects" do MetricFu.should_receive(:is_rails?).and_return(true) MetricFu.should_receive(:can_churn?).and_return(false) - MetricFu.default_metrics.should == [:coverage, :flay, :flog, :reek, :roodi, :saikuro, :stats] + MetricFu.default_metrics.should == [:coverage, :flay, :flog, :heckle, :reek, :roodi, :saikuro, :stats] end it "should have exclude :churn for projects whcih can churn" do MetricFu.should_receive(:is_rails?).and_return(false) MetricFu.should_receive(:can_churn?).and_return(true) - MetricFu.default_metrics.should == [:churn, :coverage, :flay, :flog, :reek, :roodi, :saikuro] + MetricFu.default_metrics.should == [:churn, :coverage, :flay, :flog, :heckle, :reek, :roodi, :saikuro] end end describe "code dirs" do it "should return code dirs" do \ No newline at end of file