Sha256: d2f93a347237fd5af4abd0759ae65dce813383c7f063e1c7aecb594291401957

Contents?: true

Size: 398 Bytes

Versions: 1

Compression:

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

1 entries across 1 versions & 1 rubygems

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