Sha256: 2cceda89080c31a49cba205b6b72328f7d195cc4c968288e2f4c8c46faaf9075
Contents?: true
Size: 686 Bytes
Versions: 6
Compression:
Stored size: 686 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') require 'ruby/shared/loader_sharedspec' require 'ruby/shared/rails/union_station_extensions_sharedspec' if RUBY_VERSION_INT >= 190 module PhusionPassenger describe "Rack loader with Rails 4.1" do include LoaderSpecHelper before :each do @stub = register_stub(RackStub.new("rails4.1")) 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 "4.1" end include_examples "Union Station extensions for Rails" end end # module PhusionPassenger end
Version data entries
6 entries across 6 versions & 1 rubygems