Sha256: 600f56e9844af3bc8c2e6b9fc3bad7218c97e1d6b4ca951ec8d28f9dc76582f6
Contents?: true
Size: 546 Bytes
Versions: 4
Compression:
Stored size: 546 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.new([ [ :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
4 entries across 4 versions & 1 rubygems