Sha256: ff746e40678945734a76bc9f88a84df077d3a9de9ede5f851eaaf9a574de3094
Contents?: true
Size: 395 Bytes
Versions: 2
Compression:
Stored size: 395 Bytes
Contents
require 'spec_helper' module Alf module Relvar describe Base, "heading" do let(:expr){ Algebra::Operand::Named.new(:suppliers, self) } let(:rv) { Base.new(expr) } def heading(*args) @seen = args end subject{ rv.heading } it 'delegates to the connection' do subject @seen.should eq([:suppliers]) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
alf-core-0.15.0 | spec/unit/alf-relvar/base/test_heading.rb |
alf-core-0.14.0 | spec/unit/alf-relvar/base/test_heading.rb |