Sha256: fa60235a3698a9fa66b5eff741ecddd0efe39c9346b9fc86e7b3fa0182627faf
Contents?: true
Size: 417 Bytes
Versions: 2
Compression:
Stored size: 417 Bytes
Contents
require 'spec_helper' module Alf module Relvar describe Virtual, "keys" do let(:expr){ Algebra::Operand::Named.new(:aname, self) } let(:rv) { Virtual.new(expr) } def keys(name) "some keys for #{name}" end subject{ rv.keys } it 'delegates to the expression' do subject.should eq("some keys for aname") 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/virtual/test_keys.rb |
alf-core-0.14.0 | spec/unit/alf-relvar/virtual/test_keys.rb |