Sha256: 59e07ab9432880ab48997993fbbee18fda7e14db662129fc04603c65eed83479

Contents?: true

Size: 432 Bytes

Versions: 5

Compression:

Stored size: 432 Bytes

Contents

# frozen_string_literal: true
require 'spec_helper'

describe 'Config' do
  it 'Loads new Aardvark relationships' do
    expect(Settings).to respond_to('RELATIONSHIPS_SHOWN')
    [:field, :query_type, :icon, :label].each do |method|
      expect(Settings.RELATIONSHIPS_SHOWN.MEMBER_OF).to respond_to(method)
    end
  end

  it 'Loads new v3.4 Settings.FIELDS defaults' do
    expect(Settings.HOMEPAGE_MAP_GEOM).to eq nil
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
geoblacklight-4.0.0.pre.rc1 spec/config/initializers/rails_config_spec.rb
geoblacklight-4.0.0.pre.alpha.3 spec/config/initializers/rails_config_spec.rb
geoblacklight-4.0.0.pre.alpha.2 spec/config/initializers/rails_config_spec.rb
geoblacklight-4.0.0.pre.alpha.1 spec/config/initializers/rails_config_spec.rb
geoblacklight-4.0.0.pre.alpha spec/config/initializers/rails_config_spec.rb