Sha256: 90081faec400715faedd7d9c58fc02a00da12f209a8c28d46399b6682d3d4fee

Contents?: true

Size: 618 Bytes

Versions: 1

Compression:

Stored size: 618 Bytes

Contents

# encoding: utf-8

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

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

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