Sha256: 277b84f753e966687ef16d919bf2d171f7279fedccb28908d5fcbe2dac43755b

Contents?: true

Size: 612 Bytes

Versions: 1

Compression:

Stored size: 612 Bytes

Contents

# encoding: utf-8

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

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

  let(:adapter)         { double('Adapter')                      }
  let(:relation)        { double('Relation')                     }
  let(:object)          { described_class.new(adapter, relation) }
  let(:operation)       { :product                               }
  let(:factory)         { Algebra::Product                       }
  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/product_spec.rb