diff options
author | Carlhuda <carlhuda@engineyard.com> | 2009-12-23 19:10:44 -0800 |
---|---|---|
committer | Carlhuda <carlhuda@engineyard.com> | 2009-12-23 19:10:44 -0800 |
commit | c4d6d50a46a0fe53f75aadc306212b5437e22ed8 (patch) | |
tree | 0777425dacf961be0bc6cec3fe7edf7dd64ee907 | |
parent | af5c3c852e43fc95b4c4344f61c9c8fc2210b0ca (diff) | |
download | rails-c4d6d50a46a0fe53f75aadc306212b5437e22ed8.tar.gz rails-c4d6d50a46a0fe53f75aadc306212b5437e22ed8.tar.bz2 rails-c4d6d50a46a0fe53f75aadc306212b5437e22ed8.zip |
Rackup config.ru from the correct directory
-rw-r--r-- | railties/test/application/load_test.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/railties/test/application/load_test.rb b/railties/test/application/load_test.rb index 689bc77ecf..1c5811b07a 100644 --- a/railties/test/application/load_test.rb +++ b/railties/test/application/load_test.rb @@ -20,8 +20,10 @@ module ApplicationTests end test "config.ru can be racked up" do - @app = rackup - assert_welcome get("/") + Dir.chdir app_path do + @app = rackup + assert_welcome get("/") + end end test "Rails.application is available after config.ru has been racked up" do |