Skip to content

Commit

Permalink
Fix Apache 2 integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Dec 20, 2011
1 parent a30c1e3 commit 1d7ea01
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions build/basics.rb
Expand Up @@ -24,6 +24,7 @@
require 'rubygems'
require 'pathname'
require 'phusion_passenger'
PhusionPassenger.locate_directories
require 'phusion_passenger/packaging'
require 'phusion_passenger/platform_info'
require 'phusion_passenger/platform_info/operating_system'
Expand Down
1 change: 1 addition & 0 deletions test/integration_tests/spec_helper.rb
Expand Up @@ -15,5 +15,6 @@
$LOAD_PATH.unshift("#{source_root}/test")

require 'phusion_passenger'
PhusionPassenger.locate_directories
require 'support/test_helper'
include TestHelper
4 changes: 2 additions & 2 deletions test/support/apache2_controller.rb
Expand Up @@ -70,8 +70,8 @@ def initialize(options = nil)
@vhosts = []
@extra = []
@server_root = File.expand_path('tmp.apache2')
@passenger_root = File.expand_path(File.dirname(__FILE__) + "/../..")
@mod_passenger = File.expand_path(File.dirname(__FILE__) + "/../../ext/apache2/mod_passenger.so")
@passenger_root = File.expand_path(PhusionPassenger.root)
@mod_passenger = File.expand_path(PhusionPassenger.root + "/libout/apache2/mod_passenger.so")
end

def set(options)
Expand Down

0 comments on commit 1d7ea01

Please sign in to comment.