Sha256: aa4558343aa44f96c5f5d6aa57f0fd093e57ca0e97f80faba83e04c88a820dbc

Contents?: true

Size: 513 Bytes

Versions: 1

Compression:

Stored size: 513 Bytes

Contents

require 'spec_helper'
require File.expand_path('../fixtures/classes', __FILE__)

describe 'Veritas::Relation::Operation::Set#header' do
  subject { object.header }

  let(:klass)  { SetOperationSpecs::Object                     }
  let(:left)   { Relation.new([ [ :id, Integer ] ], [ [ 1 ] ]) }
  let(:right)  { Relation.new([ [ :id, Integer ] ], [ [ 1 ] ]) }
  let(:object) { klass.new(left, right)                        }

  it_should_behave_like 'an idempotent method'

  it { should equal(left.header) }
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.2 spec/unit/veritas/relation/operation/set/header_spec.rb