Sha256: f43c0eec58ef29e081691f415fcea76e2b3be7a72b3f351fc406ac8d44a43a51

Contents?: true

Size: 453 Bytes

Versions: 27

Compression:

Stored size: 453 Bytes

Contents

require 'spec_helper'

describe Locomotive::Configuration do

  before { @old_config = Locomotive.config.dup }

  it 'allows a different value for the reserved site handles' do
    expect(Locomotive.config.reserved_site_handles.include?('sites')).to eq(true) # by default
    Locomotive.config.reserved_site_handles = %w(empty)
    expect(Locomotive.config.reserved_site_handles).to eq(['empty'])
  end

  after { Locomotive.config = @old_config }

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
locomotivecms-3.3.0 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.3.0.rc3 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.3.0.rc2 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.1.2 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.2.1 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.3.0.rc1 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.2.0 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.2.0.rc2 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.2.0.rc1 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.1.1 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.1.0 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.1.0.rc3 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.1.0.rc2 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.1.0.rc1 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.0.1 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.0.0 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.0.0.rc7 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.0.0.rc6 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.0.0.rc5 spec/lib/locomotive/configuration_spec.rb
locomotivecms-3.0.0.rc4 spec/lib/locomotive/configuration_spec.rb