Sha256: 1ae36d232dc3d06287046fff95be7f1ff82f5b5e0994a87e7983abf523f0de68

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

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

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

  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/deletion/initialize_spec.rb
axiom-0.1.1 spec/unit/axiom/relation/operation/deletion/initialize_spec.rb