Sha256: d940dc4629cb7062bdf7923a2589bc7dc08c8eb5c6575898b9e9c79cc423164f
Contents?: true
Size: 522 Bytes
Versions: 2
Compression:
Stored size: 522 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + "/../../spec_helper") describe "Gchart graphers responding to #graph!" do it "should write chart file" do MetricFu.configuration graphs = {} MetricFu::AVAILABLE_GRAPHS.each do |graph| graphs[graph] = MetricFu.const_get("#{graph.to_s.capitalize}GchartGrapher").new end graphs.each do |key, val| val.graph! lambda{ File.open(File.join(MetricFu.output_directory, "#{key.to_s.downcase}.png")) }.should_not raise_error end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
cayblood-metric_fu-1.1.6 | spec/graphs/engines/gchart_spec.rb |
flyerhzm-metric_fu-1.0.0 | spec/graphs/engines/gchart_spec.rb |