Sha256: bd4e1342e6d8aa9ade5ca9832470673e0564ad7ef80f99eab1d37fbd1fce6624

Contents?: true

Size: 222 Bytes

Versions: 4

Compression:

Stored size: 222 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Relation, '#drop' do
  include_context 'Relation'

  it 'drops the relation by the given offset' do
    expect(relation.drop(1).to_a).to eql([jane, jack, jade])
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
rom-0.2.0 spec/unit/rom/relation/drop_spec.rb
rom-relation-0.1.2 spec/unit/rom/relation/drop_spec.rb
rom-relation-0.1.1 spec/unit/rom/relation/drop_spec.rb
rom-relation-0.1.0 spec/unit/rom/relation/drop_spec.rb