Sha256: 01cc4590eaf188406dc8a6a176315ef48d603dfd9c665bb38d575cb249827e61
Contents?: true
Size: 795 Bytes
Versions: 43
Compression:
Stored size: 795 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 = {}) @preloader = Preloader.new(["ruby", "#{PhusionPassenger.helper_scripts_dir}/rack-preloader.rb"], @stub.app_root) result = @preloader.start(options) if result[:status] == "Ready" @loader = @preloader.spawn(options) return @loader.start(options) else return result end 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