Sha256: 7b4d57ac1b449e01a72163509ddd65b50430928a16019fbf0c784cb162cce241

Contents?: true

Size: 330 Bytes

Versions: 9

Compression:

Stored size: 330 Bytes

Contents

require "spec_helper"

describe MetricFu::Templates::MetricsTemplate do
  let(:template) { Templates::MetricsTemplate.new }

  describe "#html_filename" do
    it "returns the hashed filename ending with .html" do
      expect(template.html_filename("some_file.rb")).to eq("10580a1fcbe74a931db8210462a584.html")
    end
  end
end

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
metric_fu-4.13.0 spec/metric_fu/templates/metrics_template_spec.rb
fastruby-metric_fu-5.0.0 spec/metric_fu/templates/metrics_template_spec.rb
code_metric_fu-4.14.4 spec/metric_fu/templates/metrics_template_spec.rb
code_metric_fu-4.14.3 spec/metric_fu/templates/metrics_template_spec.rb
code_metric_fu-4.14.2 spec/metric_fu/templates/metrics_template_spec.rb
code_metric_fu-4.14.1 spec/metric_fu/templates/metrics_template_spec.rb
code_metric_fu-4.14.0 spec/metric_fu/templates/metrics_template_spec.rb
metric_fu-4.12.0 spec/metric_fu/templates/metrics_template_spec.rb
metric_fu-4.11.4 spec/metric_fu/templates/metrics_template_spec.rb