Sha256: 413b244463a7d5072c63d7aae940fef0495b49fdec7a658c052bb3db6d8497ba
Contents?: true
Size: 372 Bytes
Versions: 10
Compression:
Stored size: 372 Bytes
Contents
RSpec.describe Hyrax::Statistics::Collections::OverTime do let(:service) { described_class.new } describe "#points" do before do create(:collection) end subject { service.points } it "is a list of points" do expect(subject.size).to eq 5 expect(subject.first[1]).to eq 0 expect(subject.to_a.last[1]).to eq 1 end end end
Version data entries
10 entries across 10 versions & 2 rubygems