Sha256: 13be43d8b668b659e7ebd9d018f88fabc4f60420c133aec4c97782af2e0c967c

Contents?: true

Size: 610 Bytes

Versions: 3

Compression:

Stored size: 610 Bytes

Contents

# encoding: utf-8

require 'spec_helper'
require 'veritas/relation/gateway'

describe Relation::Gateway, '#union' do
  subject { object.union(other) }

  let(:adapter)         { mock('Adapter')                        }
  let(:relation)        { mock('Relation')                       }
  let(:object)          { described_class.new(adapter, relation) }
  let(:operation)       { :union                                 }
  let(:factory)         { Algebra::Union                         }
  let(:binary_relation) { mock(factory)                          }

  it_should_behave_like 'a binary relation method'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
veritas-do-adapter-0.0.7 spec/unit/veritas/relation/gateway/union_spec.rb
veritas-do-adapter-0.0.6 spec/unit/veritas/relation/gateway/union_spec.rb
veritas-do-adapter-0.0.5 spec/unit/veritas/relation/gateway/union_spec.rb