Sha256: fb4cfdc8ceda74e67208da8f3f4776df7c7ff5b108744a8bf3de435fa1319ca8

Contents?: true

Size: 647 Bytes

Versions: 43

Compression:

Stored size: 647 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../spec_helper')
require 'ruby/shared/loader_sharedspec'
require 'ruby/shared/rails/analytics_logging_extensions_sharedspec'

module PhusionPassenger

describe "Rack loader with Rails 3.0" do
	include LoaderSpecHelper

	before :each do
		@stub = register_stub(RackStub.new("rails3.0"))
	end

	def start(options = {})
		@loader = Loader.new(["ruby", "#{PhusionPassenger.helper_scripts_dir}/rack-loader.rb"], @stub.app_root)
		return @loader.start(options)
	end

	def rails_version
		return "3.0"
	end

	include_examples "analytics logging extensions for Rails"
end

end # module PhusionPassenger

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
passenger-4.0.0.rc6 test/ruby/rails3.0/loader_spec.rb
passenger-4.0.0.rc4 test/ruby/rails3.0/loader_spec.rb
passenger-3.9.2.beta test/ruby/rails3.0/loader_spec.rb