Sha256: 088a3f7e8aed427694a0dae2fa422f36f0577197b89ca1d4c7047f17155f12eb

Contents?: true

Size: 492 Bytes

Versions: 10

Compression:

Stored size: 492 Bytes

Contents

require 'spec_helper'

describe MarkLogic::DatabaseSettings::ElementWordLexicon do
  let(:index) do
    MarkLogic::DatabaseSettings::ElementWordLexicon.new("element")
  end

  context "#new" do
    it "should populate correctly" do
      expect(index.to_json).to eq(
        {
          "element-word-lexicon" => {
            "namespace-uri" => "",
            "localname" => "element",
            "collation" => MarkLogic::DEFAULT_COLLATION
          }
        }
      )
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
marklogic-0.0.11 spec/marklogic/database_settings/element_word_lexicon_spec.rb
marklogic-0.0.10 spec/marklogic/database_settings/element_word_lexicon_spec.rb
marklogic-0.0.9 spec/marklogic/database_settings/element_word_lexicon_spec.rb
marklogic-0.0.8 spec/marklogic/database_settings/element_word_lexicon_spec.rb
marklogic-0.0.7 spec/marklogic/database_settings/element_word_lexicon_spec.rb
marklogic-0.0.6 spec/marklogic/database_settings/element_word_lexicon_spec.rb
marklogic-0.0.5 spec/marklogic/database_settings/element_word_lexicon_spec.rb
marklogic-0.0.4 spec/marklogic/database_settings/element_word_lexicon_spec.rb
marklogic-0.0.3 spec/marklogic/database_settings/element_word_lexicon_spec.rb
marklogic-0.0.1 spec/marklogic/database_settings/element_word_lexicon_spec.rb