spec/flay_spec.rb in p8-metric_fu-0.9.0 vs spec/flay_spec.rb in p8-metric_fu-0.9.0.1

- old
+ new

@@ -1,19 +1,19 @@ require File.dirname(__FILE__) + '/spec_helper.rb' -describe MetricFu::Flay do +describe Flay do - describe "generate_html" do - it "should create a new Generator and call generate_report on it" do - @generator = MetricFu::Flay.new('other_dir') - @generator.should_receive(:`).and_return("Matches found in :call (mass = 55)\n\tlib/metric_fu/flog_reporter.rb:2\n\tlib/metric_fu/flog_reporter.rb:3") - @generator.generate_html - end - end - - describe "template_name" do - it "should return the class name in lowercase" do - flay = MetricFu::Flay.new('base_dir') - flay.template_name.should == 'flay' - end - end -end \ No newline at end of file + # describe "generate_output" do + # it "should create a new Generator and call generate_report on it" do + # @generator = MetricFu::Flay.new('other_dir') + # @generator.should_receive(:`).and_return("Matches found in :call (mass = 55)\n\tlib/metric_fu/flog_reporter.rb:2\n\tlib/metric_fu/flog_reporter.rb:3") + # @generator.generate_output + # end + # end + # + # describe "template_name" do + # it "should return the class name in lowercase" do + # flay = MetricFu::Flay.new('base_dir') + # flay.template_name.should == 'flay' + # end + # end +end