Sha256: ad39e4f2e7e0c55f36c34c3fea54389ea97375460234d45e9773e2036e65a4d3

Contents?: true

Size: 265 Bytes

Versions: 4

Compression:

Stored size: 265 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Relation, '#delete' do
  include_context 'Relation'

  subject { relation.delete(john) }

  it { should be_instance_of(Relation) }

  it 'deletes tuples from the relation' do
    should_not include(john)
  end
end

Version data entries

4 entries across 4 versions & 2 rubygems

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