Refactored Metric Collector Base. Instanciating a MetricCollectorDetails

now.

Signed off by: Daniel Alves <danpaulalves@gmail.com>
In the factory you just need any param if you are going to use it on the
initialization :)

Em Tue Dec 09 2014 at 10:09:48 AM, Diego de Araújo Martinez Camarinha <
notifications@github.com> escreveu:

> In spec/factories/base_metric_collectors.rb
> <https://github.com/mezuro/kalibro_processor/pull/67#discussion-diff-21524008>
> :
>
> >
> > -    initialize_with { MetricCollector::Base.new(name, description, supported_metrics) }
> > +    initialize_with { MetricCollector::Base.new("Analizo", "C/C++ and Java metrics", [FactoryGirl.build(:analizo_native_metric)]) }
>
> Ok, I'll do it. The reason for creating the param details is that I
> believed that, without it, I wouldn't be able to call the method "details".
> Was I wrong?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/mezuro/kalibro_processor/pull/67/files#r21524008>.
>