Sha256: d64089a60442b9efe94195cbb482a8537f35e474bd42835d9b3b73800fa83150
Contents?: true
Size: 558 Bytes
Versions: 1
Compression:
Stored size: 558 Bytes
Contents
# encoding: utf-8 require 'spec_helper' require File.expand_path('../fixtures/classes', __FILE__) describe Relation::Operation::Unary, '#header' do subject { object.header } let(:described_class) { UnaryOperationSpecs::Object } let(:header) { Relation::Header.coerce([ [ :id, Integer ] ]) } let(:relation) { Relation.new(header, [ [ 1 ] ]) } let(:object) { described_class.new(relation) } it_should_behave_like 'an idempotent method' it { should equal(header) } end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.0 | spec/unit/axiom/relation/operation/unary/header_spec.rb |