Sha256: a1c4b4202285a7193dd94f6f516fa88f8514fb3b9ff2d2436be2d3e8f0af1950

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

[ :intersect, :& ].each do |method|
  describe Relation::Header, "##{method}" do
    subject { object.send(method, other) }

    let(:other)  { described_class.new([ [ :name, String  ] ]) }
    let(:object) { described_class.new([ [ :id,   Integer ] ]) }

    it { should be_kind_of(described_class) }

    it { should be_empty }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
veritas-0.0.4 spec/unit/veritas/relation/header/intersect_spec.rb