spec/base_spec.rb in p8-metric_fu-0.8.4.12 vs spec/base_spec.rb in p8-metric_fu-0.8.4.13
- old
+ new
@@ -9,10 +9,10 @@
end
it "should save to a custom.html to the base_dir if 'custom' is passed as name" do
@generator = MetricFu::Base::Generator.new('base_dir')
@generator.should_receive(:open).with("base_dir/metric_fu/custom.html", "w")
- @generator.save_html("<html>", 'metric_fu/custom')
+ @generator.save_html("<html>", 'metric_fu/custom.html')
end
end
describe "generate_report class method" do
it "should create a new Generator and call generate_report on it" do
\ No newline at end of file