Sha256: 689bb7acdfceef9ef2ad3c1f9f013c9578c0eb9e935f470bbfe2287fa3bfa9f3
Contents?: true
Size: 539 Bytes
Versions: 2
Compression:
Stored size: 539 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 be(header) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.2.0 | spec/unit/axiom/relation/operation/unary/header_spec.rb |
axiom-0.1.1 | spec/unit/axiom/relation/operation/unary/header_spec.rb |