Sha256: 0b218af9f5a08eece3d93759116d52daec4e268534a6926e7b8de68e59cac6c7
Contents?: true
Size: 362 Bytes
Versions: 1
Compression:
Stored size: 362 Bytes
Contents
RSpec.describe Sufia::Statistics::Collections 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sufia-7.0.0.beta1 | spec/services/statistics/collections_spec.rb |