Commit 5c48092def0eff3552e87d3757b4ee7d9ad79375
Committed by
João M. M. da Silva
1 parent
3beab8f4
Exists in
master
and in
29 other branches
[Mezuro] fixed content_viewer_helper.
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
plugins/mezuro/lib/mezuro_plugin/helpers/content_viewer_helper.rb
... | ... | @@ -46,7 +46,7 @@ class MezuroPlugin::Helpers::ContentViewerHelper |
46 | 46 | end |
47 | 47 | |
48 | 48 | def self.format_name(metric_result) |
49 | - metric_result.metric.name.delete("() ") | |
49 | + metric_result.configuration.metric.name.delete("() ") | |
50 | 50 | end |
51 | 51 | |
52 | 52 | def self.get_license_option(selected) | ... | ... |
plugins/mezuro/test/unit/mezuro_plugin/helpers/content_viewer_helper_test.rb