Sha256: 216eed51cf4d7516ba57524948d1062afc1abd71b86daf3ca75829cf0a17f4d9
Contents?: true
Size: 592 Bytes
Versions: 10
Compression:
Stored size: 592 Bytes
Contents
require 'spec_helper' describe MarkLogic::DatabaseSettings::RangePathIndex do let(:index) do MarkLogic::DatabaseSettings::RangePathIndex.new("/path/to/stuff") end describe "new" do it "should populate correctly" do expect(index.to_json).to eq( { "range-path-index" => { "scalar-type" => "string", "collation" => MarkLogic::DEFAULT_COLLATION, "path-expression" => "/path/to/stuff", "range-value-positions" => false, "invalid-values" => "reject" } } ) end end end
Version data entries
10 entries across 10 versions & 1 rubygems