Sha256: 65e84fa53318c14af3d0c99eff2325ca92669f880c782aa2e4e4fee31c7430ea
Contents?: true
Size: 513 Bytes
Versions: 1
Compression:
Stored size: 513 Bytes
Contents
# encoding: utf-8 require 'spec_helper' [ :union, :| ].each do |method| describe Relation::Header, "##{method}" do subject { object.send(method, other) } let(:attribute1) { [ :id, Integer ] } let(:attribute2) { [ :name, String ] } let(:other) { described_class.new([ attribute2 ]) } let(:object) { described_class.new([ attribute1 ]) } it { should be_kind_of(described_class) } it { should == [ attribute1, attribute2 ] } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
veritas-0.0.4 | spec/unit/veritas/relation/header/union_spec.rb |