Sha256: b919244a01673b974d0127c88b4b6c851989714979e7f933b051f05bd96840f1

Contents?: true

Size: 449 Bytes

Versions: 4

Compression:

Stored size: 449 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "spec_helper"))

describe Merb::Config do

  it "should set Dispatcher.use_mutex to true by default" do
    lambda {
      startup_merb
      Merb::Dispatcher.use_mutex.should be_true
    }
  end

  it "should set Dispatcher.use_mutex to value in config" do
    lambda {
      startup_merb({:use_mutex => false})
      Merb::Dispatcher.use_mutex.should be_false
    }
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
merb-core-1.1.3 spec/public/core/config_spec.rb
merb-core-1.1.2 spec/public/core/config_spec.rb
merb-core-1.1.1 spec/public/core/config_spec.rb
merb-core-1.1.0 spec/public/core/config_spec.rb