Sha256: 592d27049dfc4adfa1af6d24213a1512e4dd94c4c76c7a5f42412a5be48c0c95

Contents?: true

Size: 226 Bytes

Versions: 8

Compression:

Stored size: 226 Bytes

Contents

require 'spec_helper'
class Predicate
  describe QualifiedIdentifier, "free_variables" do

    let(:expr){ Factory.qualified_identifier(:t, :id) }

    subject{ expr.free_variables }

    it{ should eq([:"t.id"]) }

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
predicate-2.8.0 spec/nodes/qualified_identifier/test_free_variables.rb
predicate-2.7.1 spec/nodes/qualified_identifier/test_free_variables.rb
predicate-2.7.0 spec/nodes/qualified_identifier/test_free_variables.rb
predicate-2.6.0 spec/nodes/qualified_identifier/test_free_variables.rb
predicate-2.5.0 spec/nodes/qualified_identifier/test_free_variables.rb
predicate-2.4.0 spec/nodes/qualified_identifier/test_free_variables.rb
predicate-2.3.3 spec/nodes/qualified_identifier/test_free_variables.rb
predicate-2.3.2 spec/nodes/qualified_identifier/test_free_variables.rb