Sha256: 13dd0578ad5bcd5e0fc9842cf541248d12fa88e6e2d6e3976a76a387912f30f1

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

require 'compiler_helper'
module Alf
  module Sequel
    describe Compiler, "leaf_operand" do

      subject{ compile(expr) }

      context 'on the proper context' do
        let(:expr){ suppliers }

        it{ should be_a(Cog) }
      end

      context 'on another context' do
        let(:expr){ Algebra.named_operand(:suppliers, self) }

        pending "support for multiple context is needed" do
          it{ should_not be_a(Cog) }
        end
      end

    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
alf-sequel-0.14.0 spec/compiler/test_leaf_operand.rb
alf-sequel-0.13.0 spec/compiler/test_leaf_operand.rb