Sha256: e02fc08fb3860a8775ddf1e5009f41d203a6c6f585584d1313d76b19641ffe26

Contents?: true

Size: 395 Bytes

Versions: 1

Compression:

Stored size: 395 Bytes

Contents

require 'spec_helper'

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

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

    it { should be_kind_of(klass) }

    it { should be_empty }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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