Sha256: 8d4a0368aceb81ecdff9bedefb2ce83fcae5b7b85625f9237841fe8a414f3521

Contents?: true

Size: 706 Bytes

Versions: 57

Compression:

Stored size: 706 Bytes

Contents

#!/usr/bin/env ruby

BEGIN {
	require 'pathname'
	basedir = Pathname.new( __FILE__ ).dirname.parent.parent

	libdir = basedir + "lib"

	$LOAD_PATH.unshift( basedir ) unless $LOAD_PATH.include?( basedir )
	$LOAD_PATH.unshift( libdir ) unless $LOAD_PATH.include?( libdir )
}

require 'rspec'

require 'spec/lib/helpers'

require 'mongrel2'
require 'mongrel2/connection'


#####################################################################
###	C O N T E X T S
#####################################################################

describe Mongrel2::Constants do

	it "defines a default configuration URI" do
		Mongrel2::Constants.constants.map( &:to_sym ).should include( :DEFAULT_CONFIG_URI )
	end

end

Version data entries

57 entries across 57 versions & 1 rubygems

Version Path
mongrel2-0.38.0 spec/mongrel2/constants_spec.rb
mongrel2-0.37.0 spec/mongrel2/constants_spec.rb
mongrel2-0.36.0 spec/mongrel2/constants_spec.rb
mongrel2-0.35.0 spec/mongrel2/constants_spec.rb
mongrel2-0.34.1.pre.357 spec/mongrel2/constants_spec.rb
mongrel2-0.34.0 spec/mongrel2/constants_spec.rb
mongrel2-0.33.0 spec/mongrel2/constants_spec.rb
mongrel2-0.32.0 spec/mongrel2/constants_spec.rb
mongrel2-0.31.1 spec/mongrel2/constants_spec.rb
mongrel2-0.31.0 spec/mongrel2/constants_spec.rb
mongrel2-0.30.1 spec/mongrel2/constants_spec.rb
mongrel2-0.30.0 spec/mongrel2/constants_spec.rb
mongrel2-0.29.0 spec/mongrel2/constants_spec.rb
mongrel2-0.28.0 spec/mongrel2/constants_spec.rb
mongrel2-0.27.0 spec/mongrel2/constants_spec.rb
mongrel2-0.26.0 spec/mongrel2/constants_spec.rb
mongrel2-0.25.0 spec/mongrel2/constants_spec.rb
mongrel2-0.25.0.pre.288 spec/mongrel2/constants_spec.rb
mongrel2-0.25.0.pre.285 spec/mongrel2/constants_spec.rb
mongrel2-0.24.0 spec/mongrel2/constants_spec.rb