Sha256: c7c9e4d7192f437bca0e7558d3832778eca20050dfc249b4fb7e84ee06716ab8

Contents?: true

Size: 591 Bytes

Versions: 2

Compression:

Stored size: 591 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

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

  it_should_behave_like 'a binary relation method'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-arango-adapter-0.0.2 spec/unit/axiom/adapter/arango/gateway/product_spec.rb
axiom-arango-adapter-0.0.1 spec/unit/axiom/adapter/arango/gateway/product_spec.rb