public
Description: Phusion Passenger (mod_rails)
Homepage: http://www.modrails.com/
Clone URL: git://github.com/FooBarWidget/passenger.git
Click here to lend your support to: passenger and make a donation at www.pledgie.com !
Fix a unit test failure.
Hongli Lai (Phusion) (author)
Sat Jul 19 14:37:11 -0700 2008
commit  83bf7d077080f5129de87c3031305f74058db3b1
tree    a3d5996251ee9c696f0bb838c9e6d650f998a13a
parent  14ee2991e202d65f258e3369677987a6d72de7a4
...
37
38
39
40
 
 
 
41
42
43
...
37
38
39
 
40
41
42
43
44
45
0
@@ -37,7 +37,9 @@ shared_examples_for "a minimal spawner" do
0
   
0
   it "does not conflict with models in the application that are named 'Passenger'" do
0
     use_rails_stub('foobar') do |stub|
0
- Dir.mkdir("#{stub.app_root}/app/models")
0
+ if !File.directory?("#{stub.app_root}/app/models")
0
+ Dir.mkdir("#{stub.app_root}/app/models")
0
+ end
0
       File.open("#{stub.app_root}/app/models/passenger.rb", 'w') do |f|
0
         f.write(%q{
0
           class Passenger

Comments

    No one has commented yet.