Sha256: 81c70b9df5b214be7550733c686a9946b747bc423698352e7bdc7693a51e5bee

Contents?: true

Size: 379 Bytes

Versions: 1

Compression:

Stored size: 379 Bytes

Contents

require 'spec_helper'
module Alf
  module Algebra
    module Operand
      describe Named, "keys" do

        let(:operand){ Named.new(:foo, self) }

        subject{ operand.keys }

        def keys(name)
          [name]
        end

        it 'delegates to the underlying connection when bound' do
          subject.should eq([:foo])
        end

      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-algebra/operand/named/test_keys.rb