Sha256: 4e11b8408de537437b1c79c9cbcfcbbd702e53c9457e6b3247c557140e4e449c
Contents?: true
Size: 582 Bytes
Versions: 14
Compression:
Stored size: 582 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../spec_helper") describe MetricFu do describe "responding to #graph" do it "should return an instance of Graph" do MetricFu.graph.should be_a(Graph) end end end describe MetricFu::Graph do before(:each) do @graph = MetricFu::Graph.new end describe "responding to #add with gchart enabled" do it 'should instantiate a grapher and push it to clazz' do @graph.clazz.should_receive(:push).with(an_instance_of(RcovGchartGrapher)) @graph.add("rcov", 'gchart') end end end
Version data entries
14 entries across 14 versions & 7 rubygems