Sha256: 6965ed10760dd7260ce18c56e5c93886a17cfe741d692fd48993f7c239317fad
Contents?: true
Size: 678 Bytes
Versions: 1
Compression:
Stored size: 678 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require File.expand_path('../fixtures/classes', __FILE__) describe Relation::Operation::Binary, '#header' do subject { object.header } let(:described_class) { BinaryRelationOperationSpecs::Object } let(:left) { Relation.new([ [ :id, Integer ] ], [ [ 1 ] ]) } let(:right) { Relation.new([ [ :name, String ] ], [ [ 'Dan Kubb' ] ]) } let(:object) { described_class.new(left, right) } it_should_behave_like 'an idempotent method' it { should be_kind_of(Relation::Header) } it { should == [ [ :id, Integer ], [ :name, String ] ] } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/relation/operation/binary/header_spec.rb |