Sha256: 534a488c4f0b7b19158a72878e71504aaca240516783f657eceafc9b4db746b6
Contents?: true
Size: 368 Bytes
Versions: 10
Compression:
Stored size: 368 Bytes
Contents
RSpec.describe Hyrax::Statistics::Works::OverTime do let(:service) { described_class.new } describe "#points" do before do create(:generic_work) 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