Sha256: 1ce7bd89e2b3f9880dd163afe7deb76e343e6b68e5ecfc90342b934cc30317ee

Contents?: true

Size: 383 Bytes

Versions: 2

Compression:

Stored size: 383 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

2 entries across 2 versions & 1 rubygems

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