Sha256: 1b629179b03d5927338973a8f933cee2b513757772794ea8ba4048ec3afed863

Contents?: true

Size: 399 Bytes

Versions: 1

Compression:

Stored size: 399 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Relation::Operation::Insertion, '#initialize' do
  subject { described_class.new(base, other) }

  let(:base)  { Relation.new([ [ :id, Integer ] ], [ [ 1 ] ]) }
  let(:other) { Relation.new([ [ :id, Integer ] ], [ [ 2 ] ]) }

  it { should be_instance_of(described_class) }

  its(:left) { should be(base) }

  its(:right) { should be(other) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
axiom-0.1.0 spec/unit/axiom/relation/operation/insertion/initialize_spec.rb