Sha256: f0963e27d5c675dd9935c0cb7d7fbb7940ef8e86756470f215f1488f227a4d56
Contents?: true
Size: 395 Bytes
Versions: 1
Compression:
Stored size: 395 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Relation::Empty, '#each' do subject { object.each { |tuple| yields << tuple } } let(:object) { described_class.new(header) } let(:header) { [[:id, Integer]] } let(:yields) { [] } it_should_behave_like 'an #each method' it 'yields no tuples' do subject yields.should be_empty end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
axiom-0.1.1 | spec/unit/axiom/relation/empty/each_spec.rb |