Skip to content
Browse files

Rackup config.ru from the correct directory

  • Loading branch information...
1 parent af5c3c8 commit c4d6d50a46a0fe53f75aadc306212b5437e22ed8 Carlhuda committed Dec 23, 2009
Showing with 4 additions and 2 deletions.
  1. +4 −2 railties/test/application/load_test.rb
View
6 railties/test/application/load_test.rb
@@ -20,8 +20,10 @@ def setup
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

0 comments on commit c4d6d50

Please sign in to comment.
Something went wrong with that request. Please try again.