Sha256: 9c5bd36b595339dd8d2cfd00a703a1e86252d056d5dae55941400f5d130e354b

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

# encoding: utf-8

require 'spec_helper'
require 'axiom/relation/gateway'

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

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

  it_should_behave_like 'a binary relation method'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-do-adapter-0.2.0 spec/unit/axiom/relation/gateway/union_spec.rb