Sha256: fed472de3ac907441b3c55b4592accf181dc29e15fa578ad1e2014c0a51040ff

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Relation::Empty, '.new' do
  let(:object) { described_class  }
  let(:header) { [[:id, Integer]] }

  subject { object.new(header) }

  it { should be_instance_of(object) }

  its(:header) { should == header }

  its(:tuples) { should be_empty }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
axiom-0.2.0 spec/unit/axiom/relation/empty/class_methods/new_spec.rb
axiom-0.1.1 spec/unit/axiom/relation/empty/class_methods/new_spec.rb