Sha256: 278ece9f45aa20283c70637f817fd3c06e114a167a0a82f2b6bd46a15648b34f
Contents?: true
Size: 392 Bytes
Versions: 10
Compression:
Stored size: 392 Bytes
Contents
require 'spec_helper' describe MarkLogic::Queries::ContainerQuery do describe "#to_xqy" do it "should create xquery correctly" do q = MarkLogic::Queries::ContainerQuery.new("foo", MarkLogic::Queries::ValueQuery.new("bar", "baz")) expect(q.to_xqy).to eq(%Q{cts:json-property-scope-query("foo",cts:json-property-value-query("bar",("baz"),("exact"),1.0))}) end end end
Version data entries
10 entries across 10 versions & 1 rubygems