Sha256: 03f1e44ae7f76feb6254b4b8c8e4c086813a123f321c191c6816875d93c93163

Contents?: true

Size: 323 Bytes

Versions: 4

Compression:

Stored size: 323 Bytes

Contents

require 'spec_helper'
module Alf
  class Predicate
    describe NadicBool, "free_variables" do

      subject{ expr.free_variables }

      context "on a complex attribute comparison" do
        let(:expr){ Factory.comp(:neq, :x => :y, :z => 2) }

        it{ should eq(AttrList[:x, :y, :z]) }
      end

    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
alf-core-0.15.0 spec/unit/alf-predicate/nodes/nadic_bool/test_free_variables.rb
alf-core-0.14.0 spec/unit/alf-predicate/nodes/nadic_bool/test_free_variables.rb
alf-core-0.13.1 spec/unit/alf-predicate/nodes/nadic_bool/test_free_variables.rb
alf-core-0.13.0 spec/unit/alf-predicate/nodes/nadic_bool/test_free_variables.rb