Sha256: 1be62c08acd6b075ae768e2a97ab2ca214263517053b020d81e38b625f5eed69
Contents?: true
Size: 455 Bytes
Versions: 4
Compression:
Stored size: 455 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper.rb' describe MetricFu::FlayReporter do describe "generate_html" do it "should create a new Generator and call generate_report on it" do @generator = MetricFu::FlayReporter.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 end
Version data entries
4 entries across 4 versions & 2 rubygems