Sha256: 1d47829b217f02878aad09254486f0d281ccebbb9203f1bdd366d224036bdbeb
Contents?: true
Size: 427 Bytes
Versions: 10
Compression:
Stored size: 427 Bytes
Contents
require 'spec_helper' describe MarkLogic::Queries::AndNotQuery do describe "#to_xqy" do it "should create xquery correctly" do q = MarkLogic::Queries::AndNotQuery.new( MarkLogic::Queries::DirectoryQuery.new("/foo/"), MarkLogic::Queries::CollectionQuery.new("bar")) expect(q.to_xqy).to eq(%Q{cts:and-not-query(cts:directory-query(("/foo/")),cts:collection-query(("bar")))}) end end end
Version data entries
10 entries across 10 versions & 1 rubygems