Sha256: 33b2351f80eed98ccb700881810481353ba9c719ae8342f102b0b864a7a7ee4c

Contents?: true

Size: 443 Bytes

Versions: 1

Compression:

Stored size: 443 Bytes

Contents

require 'spec_helper'

module Prosperity
  describe MetricFinder do
    subject { MetricFinder.new File.join(TEST_FILES, "metrics") }

    describe "#metrics" do
      let(:metrics) { subject.metrics }

      it "returns an array" do
        metrics.should be_an(Array)
      end

      it "should contain at least one metric" do
        metrics.size.should be > 0
        metrics.first.superclass.should == Metric
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
prosperity-0.0.1 spec/lib/prosperity/metric_finder_spec.rb